uk.ac.starlink.treeview
Class ByteList

java.lang.Object
  extended by uk.ac.starlink.treeview.ByteList

public class ByteList
extends Object

Extensible buffer of bytes. This does for bytes what a StringBuffer does for chars; it gives you a buffer of byte primitives which can be extended automatically when appends are made. This implementation is based on a StringBuffer.

Author:
Mark Taylor (Starlink)

Constructor Summary
ByteList()
           
ByteList(int length)
           
 
Method Summary
 void append(byte b)
           
 byte get(int index)
           
 int length()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByteList

public ByteList()

ByteList

public ByteList(int length)
Method Detail

append

public void append(byte b)

length

public int length()

get

public byte get(int index)


Copyright © 2002-2017 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.