Class Utf16BeCodec.

Inherits Codec

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.

Reimplements Garbage::Garbage().

UString Utf16BeCodec::toUnicode( const EString & s )

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.

Reimplements Codec::toUnicode().

This web page based on source code belonging to The Archiveopteryx Developers. All rights reserved.