- fromBigEndian
T fromBigEndian(ubyte[] bs)
Converts big endian bytes to integral of type T
- fromBigEndian
void fromBigEndian(ubyte[] bs, T[] output)
Converts big endian bytes to integrals of type T
size of bs has to match the size in bytes of output
- fromLittleEndian
T fromLittleEndian(ubyte[] bs)
Converts little endian bytes to integral of type T
- fromLittleEndian
void fromLittleEndian(ubyte[] bs, T[] output)
Converts little endian bytes to integrals of type T
size of bs has to match the size in bytes of output
- toBigEndian
void toBigEndian(T n, ubyte[] output)
convert a integral type T into an array of bytes.
- toBigEndian
void toBigEndian(T[] ns, ubyte[] output)
convert a integral type T[] into an array of bytes.
- toBigEndian
ubyte[] toBigEndian(T n)
Undocumented in source. Be warned that the author may not have intended to support it.
- toBigEndian
ubyte[] toBigEndian(T[] ns)
Undocumented in source. Be warned that the author may not have intended to support it.
- toLittleEndian
void toLittleEndian(T n, ubyte[] output)
convert a integral type T into an array of bytes.
- toLittleEndian
void toLittleEndian(T[] ns, ubyte[] output)
convert a integral type T[] into an array of bytes.
- toLittleEndian
ubyte[] toLittleEndian(T n)
Undocumented in source. Be warned that the author may not have intended to support it.
- toLittleEndian
ubyte[] toLittleEndian(T[] ns)
Undocumented in source. Be warned that the author may not have intended to support it.