Skip to main content

be_pad_into

Function be_pad_into 

Source
fn be_pad_into(bytes: &[u8], out: &mut [u8])
Expand description

Writes the big-endian encoding of bytes into out.

The value must fit in out: any bytes truncated from the front must be zero. In release builds, the amount of data copied depends only on the slice lengths.