| Constructor and Description |
|---|
BytesOverByteArray(byte[] data) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
asInputStream()
Open an
InputStream for this instance. |
byte[] |
toByteArray()
Convert this instance to a byte array.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitasChunks, asChunks, asDataInput, create, create, create, empty, lazyViaDataOutput, lazyViaDataOutput, viaDataOutput, viaDataOutputpublic static final Bytes EMPTY
public InputStream asInputStream() throws IOException
BytesInputStream for this instance.asInputStream in interface BytesIOExceptionpublic byte[] toByteArray()
throws IOException
BytestoByteArray in interface BytesIOExceptionCopyright © 2016. All rights reserved.