public class ByteArrayByteSource extends Object implements ByteSource
| Constructor and Description |
|---|
ByteArrayByteSource(byte[] arr) |
ByteArrayByteSource(byte[] arr,
int off) |
ByteArrayByteSource(byte[] arr,
int off,
int len) |
public ByteArrayByteSource(byte[] arr)
public ByteArrayByteSource(byte[] arr,
int off)
public ByteArrayByteSource(byte[] arr,
int off,
int len)
public byte get(long index)
get in interface ByteSourcepublic long length()
length in interface ByteSourcepublic byte[] getArr()
public void setArr(byte[] arr)
public int getOff()
public void setOff(int off)
public void setLen(int len)
Copyright © 2014. All rights reserved.