Skip to main content

encode_value

Function encode_value 

Source
pub fn encode_value<T: BufferValue>(value: &T) -> Vec<u8> ⓘ
Expand description

Encode one BufferValue into a fresh byte buffer, allocated once at the size BufferValue::encoded_len reports.