public class QEncoderStream extends QPEncoderStream
out| 构造器和说明 |
|---|
QEncoderStream(OutputStream out,
boolean encodingWord)
Create a Q encoder that encodes the specified input stream
|
| 限定符和类型 | 方法和说明 |
|---|---|
static int |
encodedLength(byte[] b,
boolean encodingWord)
Returns the length of the encoded version of this byte array.
|
void |
write(int c)
Encodes the specified
byte to this output stream. |
public QEncoderStream(OutputStream out, boolean encodingWord)
out - the output streamencodingWord - true if we are Q-encoding a word within a
phrase.public void write(int c)
throws IOException
byte to this output stream.write 在类中 QPEncoderStreamc - the byte.IOException - if an I/O error occurs.public static int encodedLength(byte[] b,
boolean encodingWord)
b - the byte arrayencodingWord - true if encoding words, false if encoding textCopyright © 2021 Oracle. All rights reserved.