The Utf16BeCodec implements UTF-16BE as specified in RFC 2781.
Utf16BeCodec removes a BOM while decoding and does not add one while encoding.
Constructs a simple UTF-16BE encoder/decoder.
toUnicode() is probably a little lax. No. It IS a little lax. We may tighten this later. At least, we can check that s has an even length.
This web page based on source code belonging to The Archiveopteryx Developers. All rights reserved.