Package loci.formats.codec
Class ByteVector
java.lang.Object
loci.formats.codec.ByteVector
A growable array of bytes.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ByteVector
public ByteVector() -
ByteVector
public ByteVector(int initialSize) -
ByteVector
public ByteVector(byte[] byteBuffer)
-
-
Method Details
-
add
public void add(byte x) -
size
public int size() -
get
public byte get(int index) -
add
public void add(byte[] array) -
add
public void add(byte[] array, int off, int len) -
clear
public void clear() -
toByteArray
public byte[] toByteArray()
-