public interface Readable
Modifier and Type | Method and Description |
---|---|
int |
available() |
void |
getRawBytes(byte[] data,
int offset,
int len) |
static Readable |
readable(ByteBuffer buffer)
Wrap a
ByteBuffer as a Readable instance |
int available()
void getRawBytes(byte[] data, int offset, int len)
static Readable readable(ByteBuffer buffer)
ByteBuffer
as a Readable
instancebuffer
- The ByteBuffer
to wrap - never null
Readable
wrapperCopyright © 2008–2024 The Apache Software Foundation. All rights reserved.