public class AoByteArrayInputStream extends ByteArrayInputStream
byte[]buf, count, mark, pos| Constructor and Description |
|---|
AoByteArrayInputStream(byte[] buf) |
| Modifier and Type | Method and Description |
|---|---|
void |
fillFrom(DataInput in) |
void |
fillFrom(DataInput in,
int len) |
void |
fillFrom(PersistentBuffer pbuffer,
long position,
int len) |
byte[] |
getInternalByteArray()
Provides direct access to the internal byte[] to avoid unnecessary
copying of the array.
|
available, close, mark, markSupported, read, read, reset, skipreadpublic byte[] getInternalByteArray()
public void fillFrom(DataInput in) throws IOException
IOExceptionpublic void fillFrom(DataInput in, int len) throws IOException
IOExceptionpublic void fillFrom(PersistentBuffer pbuffer, long position, int len) throws IOException
IOExceptionCopyright © 2016. All rights reserved.