Skip to main content

MAX_WIRE_FRAME

Constant MAX_WIRE_FRAME 

Source
pub const MAX_WIRE_FRAME: usize = _; // 284usize
Expand description

Maximum on-wire frame size: pre-COBS size + COBS overhead + 1 for the trailing 0x00 sentinel. Buffer sizes of this value (or more) guarantee no encode-side overflow across any valid frame.