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.IOException
int read(ByteBuffer buffer) throws IOException
buffer
- The buffer into which bytes are to be transferred.IOException
Copyright © 2016–2017 OpenTracing. All rights reserved.