|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kc7bfi.jflac.util.ByteData
public class ByteData
Expandable byte data storage.
| Constructor Summary | |
|---|---|
ByteData(int maxSpace)
The default constructor. |
|
| Method Summary | |
|---|---|
void |
append(byte b)
Append byte to storage. |
byte[] |
getData()
|
byte |
getData(int idx)
Return a data byte. |
int |
getLen()
|
void |
setLen(int len)
Set the length of this ByteData object without re-allocating the underlying array. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ByteData(int maxSpace)
maxSpace - The maximum space in the internal byte array.| Method Detail |
|---|
public void append(byte b)
b - byte to extendpublic byte[] getData()
public byte getData(int idx)
idx - The data byte to return
public int getLen()
public void setLen(int len)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||