Skip to main content

to_bytes

Function to_bytes 

Source
pub fn to_bytes<T: Pod + ToBytes>(data: &[T]) -> Bytes
Expand description

Convert the values in data into an owned buffer of little-endian bytes