icu4d.scheme

abstract class ICUEncodingScheme: std.encoding.EncodingScheme;
this(string charsetName);
const string toString();
const string[] names();
const bool canEncode(dchar c);
const size_t encodedLength(dchar c);
const size_t encode(dchar c, ubyte[] buffer);
const dchar decode(ref const(ubyte)[] s);
const dchar safeDecode(ref const(ubyte)[] s);
const @property immutable(ubyte)[] replacementSequence();
void decodeSequence(Range)(in ubyte[] src, Range dst)
if(!isSomeString!Range && isOutputRange!(Range, dchar));
void decodeSequence(Str)(in ubyte[] src, ref Str dst)
if(isSomeString!Str);
string decodeSequence(in ubyte[] src);
void encodeSequence(Src, Range)(Src src, Range dst)
if(isSomeString!Src && isOutputRange!(Range, ubyte));
void encodeSequence(Str)(Str src, ref immutable(ubyte)[] dst)
if(isSomeString!Str);
immutable(ubyte)[] encodeSequence(Str)(Str src)
if(isSomeString!Str);
class ICUEncodingSchemeImpl(string charsetName): ICUEncodingScheme;
this();
template registerICUScheme(alias charsetName)