public class OutputStreamDataOutputView extends Object implements DataOutputView
ONE, TWO, ZERO| Constructor and Description |
|---|
OutputStreamDataOutputView(OutputStream out) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
byte[] |
getBuffer()
fixme buffer recycler
|
void |
write(int b) |
void |
writeByte(int v) |
void |
writeBytes(byte[] b) |
void |
writeBytes(byte[] b,
int off,
int len) |
void |
writeBytes(String s) |
void |
writeChars(String s) |
void |
writeUTF(String s) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwrite, write, writeBoolean, writeChar, writeDouble, writeFloat, writeInt, writeLong, writeOptionalBoolean, writeOptionalDouble, writeOptionalFloat, writeOptionalInt, writeOptionalLong, writeOptionalVInt, writeOptionalVLong, writeOptionalZLong, writeShort, writeVDouble, writeVFloat, writeVInt, writeVLong, writeZInt, writeZLongpublic OutputStreamDataOutputView(OutputStream out)
public void writeBytes(byte[] b)
throws IOException
writeBytes in interface DataOutputViewIOExceptionpublic void writeBytes(byte[] b,
int off,
int len)
throws IOException
writeBytes in interface DataOutputViewIOExceptionpublic byte[] getBuffer()
getBuffer in interface DataOutputViewpublic void write(int b)
throws IOException
write in interface DataOutputIOExceptionpublic void writeByte(int v)
throws IOException
writeByte in interface DataOutputIOExceptionpublic void writeBytes(String s) throws IOException
writeBytes in interface DataOutputIOExceptionpublic void writeChars(String s) throws IOException
writeChars in interface DataOutputIOExceptionpublic void writeUTF(String s) throws IOException
writeUTF in interface DataOutputIOExceptionpublic void flush()
throws IOException
flush in interface DataOutputViewflush in interface FlushableIOExceptionpublic void close()
throws IOException
close in interface DataOutputViewclose in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2022. All rights reserved.