org.jcodec.common
Class ByteArrayList

java.lang.Object
  extended by org.jcodec.common.ByteArrayList

public class ByteArrayList
extends Object

This class is part of JCodec ( www.jcodec.org ) This software is distributed under FreeBSD License

Author:
Jay Codec

Constructor Summary
ByteArrayList()
           
ByteArrayList(int growAmount)
           
 
Method Summary
 void add(byte val)
           
 void addAll(byte[] other)
           
 void fill(int start, int end, byte val)
           
 byte get(int index)
           
 void set(int index, byte value)
           
 int size()
           
 byte[] toArray()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByteArrayList

public ByteArrayList()

ByteArrayList

public ByteArrayList(int growAmount)
Method Detail

toArray

public byte[] toArray()

add

public void add(byte val)

set

public void set(int index,
                byte value)

get

public byte get(int index)

fill

public void fill(int start,
                 int end,
                 byte val)

size

public int size()

addAll

public void addAll(byte[] other)


Copyright © 2013. All Rights Reserved.