tagion.utils.Miscellaneous

Undocumented in source.

Members

Functions

cutHex
string cutHex(BUF buf)

+ Converts on the first part of the buffer to a Hex string + Used for debugging + + Params: + buf = is a buffer type like a byte array + Returns: + The 16 first hex digits of the buffer

decode
Buffer decode(const(char[]) hex)
Undocumented in source. Be warned that the author may not have intended to support it.
xor
Buffer xor(const(ubyte[]) a, const(ubyte[]) b)
Undocumented in source.
xor
void xor(ubyte[] result, const(ubyte[]) a, const(ubyte[]) b)
Undocumented in source.
xor
Buffer xor(Range range)
Undocumented in source.

Manifest constants

HEX_SEPARATOR
enum HEX_SEPARATOR;
Undocumented in source.

Meta