static MessageReader |
Serialize.read(ByteBuffer bb,
ReaderOptions options) |
Upon return, `bb.position()` will be at the end of the message.
|
static MessageReader |
Serialize.read(ReadableByteChannel bc,
ReaderOptions options) |
|
static MessageReader |
SerializePacked.read(BufferedInputStream input,
ReaderOptions options) |
Reads a message from the provided BufferedInputStream with the provided options.
|
static MessageReader |
SerializePacked.readFromUnbuffered(ReadableByteChannel input,
ReaderOptions options) |
Wraps the provided ReadableByteChannel in a BufferedInputStream and reads a message from it with the provided
options.
|
static Optional<MessageReader> |
Serialize.tryRead(ReadableByteChannel bc,
ReaderOptions options) |
Attempts to read a message from the provided BufferedInputStream with the provided options.
|
static Optional<MessageReader> |
SerializePacked.tryRead(BufferedInputStream input,
ReaderOptions options) |
Attempts to read a message from the provided BufferedInputStream with the provided options.
|
static Optional<MessageReader> |
SerializePacked.tryReadFromUnbuffered(ReadableByteChannel input,
ReaderOptions options) |
Wraps the provided ReadableByteChannel in a BufferedInputStream and attempts to read a message from it with
the provided options.
|