public class OutputStreamBufferedWrite extends BufferedOutputStream
buf, countout| 构造器和说明 |
|---|
OutputStreamBufferedWrite(OutputStream out) |
| 限定符和类型 | 方法和说明 |
|---|---|
byte[] |
getBuf() |
void |
writeBytes(byte[] value) |
void |
writeBytes(byte[] value,
int offset,
int length) |
void |
writeBytes(int value,
int length) |
void |
writeInt(int value,
int length) |
void |
writeLengthCodedString(byte[] value) |
void |
writeLong(long value,
int length) |
void |
writeUnsignedLong(UnsignedLong value) |
flush, write, writeclose, writepublic OutputStreamBufferedWrite(OutputStream out)
public byte[] getBuf()
public final void writeBytes(byte[] value)
throws IOException
IOExceptionpublic final void writeBytes(int value,
int length)
throws IOException
IOExceptionpublic final void writeBytes(byte[] value,
int offset,
int length)
throws IOException
IOExceptionpublic final void writeInt(int value,
int length)
throws IOException
IOExceptionpublic final void writeLong(long value,
int length)
throws IOException
IOExceptionpublic final void writeUnsignedLong(UnsignedLong value) throws IOException
IOExceptionpublic final void writeLengthCodedString(byte[] value)
throws IOException
IOExceptionCopyright © 2017. All rights reserved.