loci.formats.codec
Class ByteVector
java.lang.Object
loci.formats.codec.ByteVector
public class ByteVector
- extends Object
A growable array of bytes.
- Source code:
- Trac,
SVN
- Author:
- Wayne Rasband wsr at nih.gov
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ByteVector
public ByteVector()
ByteVector
public ByteVector(int initialSize)
ByteVector
public ByteVector(byte[] byteBuffer)
add
public void add(byte x)
size
public int size()
add
public void add(byte[] array)
add
public void add(byte[] array,
int off,
int len)
clear
public void clear()
toByteArray
public byte[] toByteArray()