pub trait IntoBytes {
    fn into_bytes(self) -> Vec<u8>;
}
Expand description

Convert a type into a vector of bytes; all implementors in this file must use little-endian orderings of bytes to match WebAssembly’s little-endianness.

Required methods

Return the little-endian byte representation of the implementing type.

Implementations on Foreign Types

Implementors