The Utf16LeCodec implements UTF-16LE as specified in RFC 2781.
Utf16LeCodec removes a BOM while decoding and does not add one while encoding.
Constructs a simple UTF-16LE 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.