public class OutputBuffer extends Object
| Constructor and Description |
|---|
OutputBuffer(ByteOrder byteOrder)
Instantiates a new output buffer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close.
|
void |
Create(String filename)
Creates the file.
|
RandomAccessFile |
getStream() |
long |
position()
Position.
|
void |
seek(int offset)
Seek.
|
void |
writeByteCurrentPosition(byte v)
Write byte.
|
void |
writeIntCurrentPosition(int v)
Write byte.
|
public OutputBuffer(ByteOrder byteOrder)
byteOrder - the byte orderpublic RandomAccessFile getStream()
public void Create(String filename) throws IOException
filename - the filenameIOException - Signals that an I/O exception has occurred.public void close()
public void seek(int offset)
throws IOException
offset - the offsetIOException - Signals that an I/O exception has occurred.public void writeByteCurrentPosition(byte v)
throws IOException
v - the vIOException - Signals that an I/O exception has occurred.public void writeIntCurrentPosition(int v)
throws IOException
v - the vIOException - Signals that an I/O exception has occurred.public long position()
throws IOException
IOException - Signals that an I/O exception has occurred.Copyright © 2015–2020. All rights reserved.