- readByte
Reads the next byte value (8 bits) from the stream. This method ensures that
there is at least 1 byt
- readInt
Reads the next integer value (32 bits) from the stream. This method ensures that
there is at least 4
- readShort
Reads the next short value (16 bits) from the stream. This method ensures that
there is at least 2 b
- <init>
Creates a new data input for the given channel and using the given buffer. If
the buffer already con
- readBytes
Reads the given amount of bytes from the stream and returns them in a newly
allocated array. This is
- readDouble
Reads the next double value (64 bits) from the stream. This method ensures that
there is at least 8
- readFloat
Reads the next float value (32 bits) from the stream. This method ensures that
there is at least 4 b
- readLong
Reads the next long value (64 bits) from the stream. This method ensures that
there is at least 8 by
- readUnsignedByte
Reads the next unsigned byte value (8 bits) from the stream. The implementation
is as below: java
- readUnsignedInt
Reads the next unsigned integer value (32 bits) from the stream. The
implementation is as below: jav
- seek
Moves to the given position in the stream, relative to the stream position at
construction time.
- ensureBufferContains
Makes sure that the buffer contains at least n remaining bytes. It is caller's
responsibility to ens