Crate bites

Source
Expand description

tired of writing endless UNDERSCORES? i have the crate for you!

to_le_bytes no more! now, with one simple function, you can le(n) to easily eat all of those bites.

bites::le(5);
bites::be(25);
bites::ne(421);

Traits§

Bites
Convert a number to its bites.

Functions§

be
Convert a number to its big endian bites.
le
Convert a number to its little endian bites.
ne
Convert a number to its native endian bites.