com.ximpleware.transcode
Class UTF16BE_Coder

java.lang.Object
  extended by com.ximpleware.transcode.UTF16BE_Coder

public class UTF16BE_Coder
extends Object


Constructor Summary
UTF16BE_Coder()
           
 
Method Summary
static long decode(byte[] input, int offset)
           
static int encode(byte[] output, int offset, int ch)
           
static void encodeAndWrite(OutputStream os, int ch)
           
static int getLen(int ch)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UTF16BE_Coder

public UTF16BE_Coder()
Method Detail

encode

public static int encode(byte[] output,
                         int offset,
                         int ch)

decode

public static long decode(byte[] input,
                          int offset)

getLen

public static int getLen(int ch)

encodeAndWrite

public static final void encodeAndWrite(OutputStream os,
                                        int ch)
                                 throws IOException,
                                        TranscodeException
Throws:
IOException
TranscodeException


Copyright © 2013. All Rights Reserved.