| 限定符和类型 | 字段和说明 |
|---|---|
protected byte[] |
m_Buffer
缓冲区
|
protected int |
m_HighSurrogateChar
UTF-16对Unicode辅助平面的代理对的高位码元
|
protected OutputStream |
m_Output |
protected int |
m_Position |
| 构造器和说明 |
|---|
SimpleUtf8Encoder(OutputStream output) |
protected final OutputStream m_Output
protected int m_HighSurrogateChar
protected byte[] m_Buffer
protected int m_Position
public SimpleUtf8Encoder(OutputStream output)
public void encode(CharSequence csq) throws IOException
IOExceptionpublic void encode(CharSequence csq, int start, int end) throws IOException
IOExceptionpublic void encode(char ch)
throws IOException
IOExceptionpublic void flush()
throws IOException
flush 在接口中 FlushableIOExceptionCopyright © 2022. All rights reserved.