org.hammerlab.channel
Readable, "skippable" common interface over InputStreams, Iterator[Byte]s, and channels.ReadableByteChannels.
When wrapping channels.SeekableByteChannels, exposes SeekableByteChannel.seek as well.
Read as many bytes into dst as it has remaining, throw an IOException if too few bytes exist or are read.
dst
Convenience method for reading a string of known length
Skip n bytes, throw IOException if unable to
n
Readable, "skippable" common interface over InputStreams, Iterator[Byte]s, and channels.ReadableByteChannels.
When wrapping channels.SeekableByteChannels, exposes SeekableByteChannel.seek as well.