com.ximpleware.transcode
Class UTF16LE_Coder

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

public class UTF16LE_Coder
extends Object


Constructor Summary
UTF16LE_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

UTF16LE_Coder

public UTF16LE_Coder()
Method Detail

encode

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

encodeAndWrite

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

decode

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

getLen

public static int getLen(int ch)


Copyright © 2013. All Rights Reserved.