org.openbandy.io.rms
Class DirectByteArrayInputStream
java.lang.Object
java.io.InputStream
java.io.ByteArrayInputStream
org.openbandy.io.rms.DirectByteArrayInputStream
- All Implemented Interfaces:
- java.io.Closeable
public class DirectByteArrayInputStream
- extends java.io.ByteArrayInputStream
A version of ByteArrayInputStream that
replaces the underlying byte array.
(c) Copyright P. Bolliger 2007, ALL RIGHTS RESERVED.
- Version:
- 1.0
- Author:
- Philipp Bolliger (philipp@bolliger.name)
Method Summary |
void |
setByteArray(byte[] buf)
TODO comment! |
void |
setByteArray(byte[] buf,
int offset,
int length)
TODO comment! |
Methods inherited from class java.io.ByteArrayInputStream |
available, close, mark, markSupported, read, read, reset, skip |
Methods inherited from class java.io.InputStream |
read |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DirectByteArrayInputStream
public DirectByteArrayInputStream(byte[] buf)
DirectByteArrayInputStream
public DirectByteArrayInputStream(byte[] buf,
int offset,
int length)
setByteArray
public void setByteArray(byte[] buf)
- TODO comment!
- Parameters:
buf
-
setByteArray
public void setByteArray(byte[] buf,
int offset,
int length)
- TODO comment!
- Parameters:
buf
- offset
- length
-