Frame

data class Frame(val bytes: ByteString)(source)

A framed packet ready for transmission or received from the device.

Framing (sync bytes, length, CRC) is handled by the SDK codec; transport layers work with raw frames. Equality is structural (delegates to ByteString.equals).

Since

0.1.0

Parameters

bytes

the wire data (including all framing overhead).

Constructors

Link copied to clipboard
constructor(bytes: ByteString)

Properties

Link copied to clipboard
val bytes: ByteString