Trait Encode
Source pub trait Encode {
// Required method
fn write_le(self, into: &mut [u8]);
}
Expand description
Write an integer in little-endian format.
This writes self
into the first n bytes (depending on the size of Self
) of into
in
little-endian format (least significant byte first).
§Panics
This will potentially panic if into
is not large enough.