public static class ByteArrayIOStream.ByteArrayIOInputStream extends ByteArrayInputStream
buf, count, mark, pos| Modifier | Constructor and Description |
|---|---|
protected |
ByteArrayIOStream.ByteArrayIOInputStream(byte[] buf,
int count) |
|
ByteArrayIOStream.ByteArrayIOInputStream(byte[] buf,
int offset,
int length) |
protected |
ByteArrayIOStream.ByteArrayIOInputStream(InputStream is)
creates an input output stream class from any stream
if is alraedy is a buffered inputstream, no copy is made
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBuf() |
int |
getCount() |
ByteArrayIOStream.ByteArrayIOInputStream |
getNewStream()
get a new input stream that starts fresh at 0
|
void |
seek(int pos) |
int |
tell() |
String |
toString() |
available, close, mark, markSupported, read, read, reset, skipreadpublic ByteArrayIOStream.ByteArrayIOInputStream(byte[] buf,
int offset,
int length)
buf - offset - length - protected ByteArrayIOStream.ByteArrayIOInputStream(byte[] buf,
int count)
buf - count - protected ByteArrayIOStream.ByteArrayIOInputStream(InputStream is)
is - the inputstream to bufferpublic void seek(int pos)
pos - public int tell()
public ByteArrayIOStream.ByteArrayIOInputStream getNewStream()
public String toString()
toString in class ObjectObject.toString()public byte[] getBuf()
public int getCount()
Copyright © 2015. All rights reserved.