public interface Binary
| Modifier and Type | Method and Description |
|---|---|
int |
read(ByteBuffer buffer)
Reads a sequence of bytes into the given buffer.
|
int |
write(ByteBuffer buffer)
Writes a sequence of bytes to this channel from the given buffer.
|
int write(ByteBuffer buffer) throws IOException
buffer - The buffer from which bytes are to be retrieved.IOExceptionint read(ByteBuffer buffer) throws IOException
buffer - The buffer into which bytes are to be transferred.IOExceptionCopyright © 2016–2017 OpenTracing. All rights reserved.