Trait cranelift_codegen::ir::immediates::IntoBytes
source · [−]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
fn into_bytes(self) -> Vec<u8>
fn into_bytes(self) -> Vec<u8>
Return the little-endian byte representation of the implementing type.