Skip to main content

bytes

Function bytes 

Source
pub fn bytes(payload: &[u8]) -> Vec<u8> ⓘ
Expand description

A string of bytes: a single byte under 0x80 is itself, anything else is prefixed with its length.