Class std.text.TextCodecUTF16
Synopsis
public class TextCodecUTF16 extends TextCodec
Codec for UTF-16.
Fields
public static final int BYTE_ORDER_BE
A value to be given to the constructor to indicate big-endian byte order.
public static final int BYTE_ORDER_LE
A value to be given to the constructor to indicate little-endian byte order.
Constructors
public TextCodecUTF16();
Default constructor. Use big-endian byte order.
public TextCodecUTF16(int byteOrder);
Construct the codec to use the specified byte order.
Arguments
byteOrder | The byte order (TextCodecUTF16.BYTE_ORDER_BE or TextCodecUTF16.BYTE_ORDER_LE ).
|
---|
Methods
No description given
No description given