public static class Frame.Binary
extends Frame
Represents an application level binary frame. In a RAW web socket session a big text frame could be fragmented (separated into several text frames so they have fin = false except the last one). Note that usually there is no need to handle fragments unless you have a RAW web socket session.
Frame.Binary, Frame.Close, Frame.Companion, Frame.Ping, Frame.Pong, Frame.Text| Constructor and Description |
|---|
Binary(boolean fin,
java.nio.ByteBuffer buffer)
Represents an application level binary frame.
In a RAW web socket session a big text frame could be fragmented
(separated into several text frames so they have fin = false except the last one).
Note that usually there is no need to handle fragments unless you have a RAW web socket session.
|
Binary(boolean fin,
kotlinx.io.core.ByteReadPacket packet) |
copy, getBuffer, getDisposableHandle, getFin, getFrameType, toStringpublic Binary(boolean fin,
java.nio.ByteBuffer buffer)
Represents an application level binary frame. In a RAW web socket session a big text frame could be fragmented (separated into several text frames so they have fin = false except the last one). Note that usually there is no need to handle fragments unless you have a RAW web socket session.
public Binary(boolean fin,
kotlinx.io.core.ByteReadPacket packet)