com.karmasphere.share.util
Class ByteArrayInputBuffer
java.lang.Object
java.io.InputStream
java.io.ByteArrayInputStream
com.karmasphere.share.util.ByteArrayInputBuffer
- All Implemented Interfaces:
- Closeable
public final class ByteArrayInputBuffer
- extends ByteArrayInputStream
Add functionality to java.io.ByteArrayInputStream which is missing.
|
Method Summary |
void |
reload(byte[] data)
Reset this ByteArrayInputBuffer's buffer to the data provided |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ByteArrayInputBuffer
public ByteArrayInputBuffer()
- Create a new ByteArrayInputBuffer with an empty buffer
ByteArrayInputBuffer
public ByteArrayInputBuffer(byte[] data)
- Create a new ByteArrayInputBuffer with the specified buffer.
reload
public void reload(byte[] data)
- Reset this ByteArrayInputBuffer's buffer to the data provided
Copyright © 2004-2005 Karamsphere. All Rights Reserved.