Description:
This module works with any encoder and decoder structs that implement
the following basic interfaces:
structEncoder
{
// Encodes a Unicode code point to user-provided buffer.// Should return bytes written or 0 at errorsize_tencode(uintcodePoint, char[] buffer)
}
structDecoder
{
// An input range that iterates characters of a string, // decoding them to Unicode code pointsautodecode(stringinput)
}
Generic encoding tools
Description: This module works with any encoder and decoder structs that implement the following basic interfaces: