Package ome.codecs

Class ByteVector

java.lang.Object
ome.codecs.ByteVector

public class ByteVector extends Object
A growable array of bytes.
Author:
Wayne Rasband wsr at nih.gov
  • 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()