public class ByteArray extends Object
Constructor and Description |
---|
ByteArray(byte[] bytes) |
ByteArray(byte[] bytes,
int offset,
int length) |
Modifier and Type | Method and Description |
---|---|
int |
getLength() |
int |
getOffset() |
byte[] |
getRawBytes() |
byte[] |
toByteArray() |
InputStream |
toInputStream() |
String |
toString() |
void |
writeTo(OutputStream out) |
public ByteArray(byte[] bytes)
public ByteArray(byte[] bytes, int offset, int length)
public byte[] getRawBytes()
public int getOffset()
public int getLength()
public byte[] toByteArray()
public InputStream toInputStream()
public void writeTo(OutputStream out) throws IOException
IOException
Copyright © 2006–2018 TinyGroup. All rights reserved.