public static class DataChannel.Buffer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
boolean |
binary
Indicates whether |data| contains UTF-8 text or "binary data"
(i.e. anything else).
|
java.nio.ByteBuffer |
data
The underlying data.
|
Constructor and Description |
---|
Buffer(java.nio.ByteBuffer data,
boolean binary) |