public class BOCU1Compressor extends Object implements IUnicodeCompressor, Serializable
http://userguide.icu-project.org/conversion/compression
,
Serialized FormConstructor and Description |
---|
BOCU1Compressor() |
Modifier and Type | Method and Description |
---|---|
int |
decode(InputStream in,
Appendable sb)
Decode a Unicode character sequence from the input stream.
|
int |
encode(CharSequence s,
OutputStream os)
Encode a Unicode character sequence.
|
public int encode(CharSequence s, OutputStream os)
IUnicodeCompressor
encode
in interface IUnicodeCompressor
s
- The Unicode data.os
- Where to write the encoded data.public int decode(InputStream in, Appendable sb)
IUnicodeCompressor
decode
in interface IUnicodeCompressor
in
- The encoded data.sb
- The decoded data (Unicode characters) are appended to this
object.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.