Skip to main content

uint8_ipc_len

Function uint8_ipc_len 

Source
pub fn uint8_ipc_len(data_len: usize) -> Result<usize>
Expand description

Total IPC stream length for a no-null UInt8 array of data_len elements. Lets a caller size the sample before constructing the message in place via encode_uint8_ipc_header.