public interface TDataOutputStream extends DataOutput
Like that it is possible to write to a file without knowing the length before.
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
long |
getFilePointer() |
long |
length() |
void |
seek(long position) |
boolean |
supportsSeek() |
void |
writeLittleEndian16(short value) |
void |
writeLittleEndian32(int value) |
write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTFboolean supportsSeek()
void seek(long position) throws IOException
IOExceptionlong getFilePointer()
throws IOException
IOExceptionlong length()
throws IOException
IOExceptionvoid writeLittleEndian32(int value)
throws IOException
IOExceptionvoid writeLittleEndian16(short value)
throws IOException
IOExceptionvoid close()
throws IOException
IOExceptionCopyright © 2016. All Rights Reserved.