Trait that allows zero-copy read of value-references from slices in LE format.
Trait that allows zero-copy write of value-references to slices in LE format.
Trait that allows reading of data into a slice.
Trait that allows writing of data.
Handles both signed and unsigned of any length. No generics here, because we want the executable binary as small as possible.
Convenience method, to avoid having to specify type when calling
Adds number to output buffer. No argument generics here, because we want the executable binary as small as possible. Smaller types need to be converted to u64 before using this function. TODO: there might be a quicker version of this using transmute + reverse bytes.