Class ByteSource.SignedFixedLengthFloat<V>

  • All Implemented Interfaces:
    ByteSource
    Enclosing interface:
    ByteSource

    public static class ByteSource.SignedFixedLengthFloat<V>
    extends java.lang.Object
    implements ByteSource
    Fixed length signed floating point number encoding. First bit is sign. If positive, add sign bit value to make greater than all negatives. If not, invert all content to make negatives with bigger magnitude smaller.
    • Constructor Detail

      • SignedFixedLengthFloat

        public SignedFixedLengthFloat​(ValueAccessor<V> accessor,
                                      V data)
    • Method Detail

      • next

        public int next()
        Description copied from interface: ByteSource
        Consume the next byte, unsigned. Must be between 0 and 255, or END_OF_STREAM if there are no more bytes.
        Specified by:
        next in interface ByteSource