Class Buffer
java.lang.Object
com.fluendo.jst.Buffer
-
Field Summary
FieldsModifier and TypeFieldDescriptionbyte[]booleanstatic final intstatic final intintintintlonglonglong -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
FLAG_DISCONT
public static final int FLAG_DISCONT- See Also:
-
FLAG_DELTA_UNIT
public static final int FLAG_DELTA_UNIT- See Also:
-
flags
public int flags -
object
-
data
public byte[] data -
offset
public int offset -
length
public int length -
caps
-
time_offset
public long time_offset -
timestamp
public long timestamp -
timestampEnd
public long timestampEnd -
duplicate
public boolean duplicate
-
-
Constructor Details
-
Buffer
public Buffer()
-
-
Method Details
-
create
-
isFlagSet
public boolean isFlagSet(int flag) -
setFlag
public void setFlag(int flag, boolean val) -
free
public void free() -
ensureSize
public void ensureSize(int length) -
copyData
public void copyData(byte[] data, int offset, int length) copies data into the buffer.- Parameters:
data- : the bytearray with data to copyoffset- : offset in the bytearray of first bytelength- : length of data to copy
-