pub fn get_segments(
data: Vec<u8>,
msg_type: u16,
) -> (SegmentStart, Vec<SegmentChunk>)Expand description
Split the given data into multiple segments, pre-pending the message type to enable decoding on the receiving side.
pub fn get_segments(
data: Vec<u8>,
msg_type: u16,
) -> (SegmentStart, Vec<SegmentChunk>)Split the given data into multiple segments, pre-pending the message type to enable decoding on the receiving side.