Reusable Java library of general tools with minimal external dependencies.
For questions or support, please contact us:
Email: support@aoindustries.com
Phone: 1-800-519-9541
Phone: +1-251-607-9556
Web: https://www.aoindustries.com/contact
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 © 2000–2016 AO Industries, Inc.. All rights reserved.