tinyendian
A minimal library providing functionality for changing the endianness of data.
Types 2
enumUTFEncoding : ubyte
Unicode UTF encodings.
UTF_8
UTF_16
UTF_32
structFixUTFByteOrderResult
See fixUTFByteOrder.
Functions 2
fn
void swapByteOrder(T)(T[] array) if (T.sizeof == 2 || T.sizeof == 4) @trusted @nogc pure nothrowSwap byte order of items in an array in place.fn
auto fixUTFByteOrder(ubyte[] array) @safe @nogc pure nothrowConvert byte order of an array encoded in UTF(8/16/32) to system endianness in place.