Class BinaryValueSetter


  • public class BinaryValueSetter
    extends ValueSetter
    Allows writing values to a byte array in little endian format.
    Author:
    Sebastian Baumhekel
    • Constructor Detail

      • BinaryValueSetter

        public BinaryValueSetter()
    • Method Detail

      • getValue

        public byte[] getValue()
        Gets the written value.
        Returns:
        value
      • setByte

        public void setByte​(byte b)
        Description copied from class: ValueSetter
        Sets a byte.
        Specified by:
        setByte in class ValueSetter
        Parameters:
        b - byte value to set with
      • setInt

        public void setInt​(int value)
        Description copied from class: ValueSetter
        Sets a 32-Bit integer
        Overrides:
        setInt in class ValueSetter
        Parameters:
        value - int value to be set with
      • setLong

        public void setLong​(long value)
        Description copied from class: ValueSetter
        Sets a long value. This is not needed directly, but as a nice side-effect from setDouble.
        Overrides:
        setLong in class ValueSetter
        Parameters:
        value - value value to be set with