Class ByteSource.Number

  • All Implemented Interfaces:
    ByteSource
    Enclosing interface:
    ByteSource

    public static class ByteSource.Number
    extends java.lang.Object
    implements ByteSource
    • Constructor Detail

      • Number

        public Number​(long value,
                      int length)
    • 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