public class RandomAccessOutputStream
extends java.io.OutputStream
Modifier and Type | Field and Description |
---|---|
private RandomAccessWrite |
writer |
Constructor and Description |
---|
RandomAccessOutputStream(RandomAccessWrite writer)
Constructor to create a new output stream which writes to the given RandomAccessWrite.
|
Modifier and Type | Method and Description |
---|---|
void |
write(byte[] b) |
void |
write(byte[] b,
int offset,
int length) |
void |
write(int b) |
private final RandomAccessWrite writer
public RandomAccessOutputStream(RandomAccessWrite writer)
writer
- The random access writer for outputpublic void write(byte[] b, int offset, int length) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
public void write(byte[] b) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
public void write(int b) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException