ubyte[] array A slice of the input array containing data in correct
byte order, without BOM and in case of UTF-16/UTF-32, without stripped bytes, if any.
UTFEncoding encoding Encoding of the result (UTF-8, UTF-16 or UTF-32)
std.system.Endian endian Endianness of the original array.
uint bytesStripped Number of bytes stripped from a UTF-16/UTF-32 array, if
any. This is non-zero only if array.length was not divisible by 2 or 4 for UTF-16 and UTF-32, respectively.
Complexity: (BIGOH array.length)