public interface TDataOutputStream
extends java.io.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) |
boolean supportsSeek()
void seek(long position) throws java.io.IOException
java.io.IOException
long getFilePointer() throws java.io.IOException
java.io.IOException
long length() throws java.io.IOException
java.io.IOException
void writeLittleEndian32(int value) throws java.io.IOException
java.io.IOException
void writeLittleEndian16(short value) throws java.io.IOException
java.io.IOException
void close() throws java.io.IOException
java.io.IOException