pub trait ToBytesPadded { // Required method fn to_bytes_padded(&self, length: usize) -> Vec<u8> ⓘ; }
Trait to convert types to padded byte vectors.
Converts the type to a byte vector padded to the given length.
length