pub fn try_encode_empty_debug_log_into(
record_capacity: u32,
dst: &mut Vec<u8>,
) -> Result<(), ProtocolError>Expand description
Strictly encode an empty PRINTF channel buffer into caller-owned storage.
Clears and resizes dst to the exact debug-log byte length, reusing allocation.
ยงErrors
Returns ProtocolError when the requested debug-log size overflows host
address space.