Modifier and Type | Field and Description |
---|---|
private int | |
private byte[] | |
private int | |
private int |
Access | Constructor and Description |
---|---|
public | |
public |
Modifier and Type | Method and Description |
---|---|
public int | clearLimit()
Implements org. |
public int | |
public void | |
public void | setLimit(int
The length to set length)Implements org. |
public void | |
public void | write(int
the b)byte .Implements abstract java. |
public void | write(byte[]
the data. b, int the start offset in the data. off, int the number of bytes to write. len)Overrides java. len bytes from the specified byte array
starting at offset off to this output stream.
|
end | back to summary |
---|---|
private int end |
pageData | back to summary |
---|---|
private byte[] pageData |
position | back to summary |
---|---|
private int position |
start | back to summary |
---|---|
private int start |
ArrayOutputStream | back to summary |
---|---|
public ArrayOutputStream() |
ArrayOutputStream | back to summary |
---|---|
public ArrayOutputStream(byte[] data) |
clearLimit | back to summary |
---|---|
public int clearLimit() Implements org. Doc from org. Clear any limit set by setLimit. After this call no limit checking will be made on any read until a setLimit()) call is made.
|
getPosition | back to summary |
---|---|
public int getPosition() |
setData | back to summary |
---|---|
public void setData(byte[] data) |
setLimit | back to summary |
---|---|
public void setLimit(int length) throws IOException Implements org. Doc from org. Set the limit of the data that can be read or written. After this call up to and including length bytes can be read from or skipped in the stream. On input classes (e.g. InputStreams) any attempt to read or skip beyond the limit will result in an end of file indication (e.g. read() methods returning -1 or throwing EOFException). On output classes (e.g. OutputStream) any attempt to write more beyond the limit will result in an EOFException
|
setPosition | back to summary |
---|---|
public void setPosition(int newPosition) throws IOException Set the position of the stream pointer.
|
write | back to summary |
---|---|
public void write(int b) throws IOException Implements abstract java. Doc from java. Writes the specified byte to this output stream. The general
contract for
|
write | back to summary |
---|---|
public void write(byte[] b, int off, int len) throws IOException Overrides java. Doc from java. Writes
If
If
|