public final class ByteAccumulator
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) byte[] |
ba |
(package private) int |
iin |
(package private) int |
inxb |
(package private) int |
iout |
(package private) int |
ipend |
(package private) static int[] |
msk |
(package private) int |
npend |
Constructor and Description |
---|
ByteAccumulator(byte[] ba) |
ByteAccumulator(int n) |
Modifier and Type | Method and Description |
---|---|
void |
append(int i,
int p) |
void |
appendByte(byte b) |
void |
appendByte(int i) |
void |
appendBytes(byte[] b) |
void |
appendBytes(byte[] b,
int ioff,
int nb) |
void |
appendInt2(int i) |
void |
appendInt4(int i) |
void |
appendString(java.lang.String s) |
void |
checkDoubleSpace() |
void |
flush() |
byte[] |
getData() |
int |
getNextWritePosition() |
int |
nextElt(int p) |
void |
setByte(int i,
byte b) |
void |
setByte(int i,
int b) |
void |
trim() |
int iin
byte[] ba
int ipend
int npend
int inxb
int iout
static int[] msk
public ByteAccumulator(int n)
public ByteAccumulator(byte[] ba)
public int getNextWritePosition()
public void checkDoubleSpace()
public void trim()
public byte[] getData()
public void setByte(int i, byte b)
public void setByte(int i, int b)
public void appendByte(byte b)
public void appendByte(int i)
public void appendBytes(byte[] b)
public void appendBytes(byte[] b, int ioff, int nb)
public void appendString(java.lang.String s)
public void appendInt2(int i)
public void appendInt4(int i)
public void append(int i, int p)
public void flush()
public int nextElt(int p)
Copyright © 2013. All Rights Reserved.