Methods inherited from class java.lang.
Object clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public int encode(
Encode a Unicode character sequence. The run length of the encoded
sequence is NOT marked in the output.
encode IUnicodeCompressor Parameters:
s - The Unicode data.
os - Where to write the encoded data.
Returns: The #of bytes written onto the output stream
public int decode(
Decode a Unicode character sequence from the input stream. The run length
of the encoded sequence is NOT marked in the input, so the caller must
provide a view consisting of exactly the bytes to be decoded.
decode IUnicodeCompressor Parameters:
in - The encoded data.
sb - The decoded data (Unicode characters) are appended to this
Returns: The #of bytes that were consumed.
Copyright © 2006-2012 SYSTAP, LLC. All Rights Reserved.