read_length_prefixed

Function read_length_prefixed 

Source
pub unsafe fn read_length_prefixed(ptr: *const u8) -> Vec<u8> 
Expand description

Read a length-prefixed value from a pointer.

§Safety

The pointer must point to a valid length-prefixed value.