com.fluendo.jst
public class Buffer extends Object
| Field Summary | |
|---|---|
| Caps | caps |
| byte[] | data |
| boolean | duplicate |
| int | flags |
| static int | FLAG_DELTA_UNIT |
| static int | FLAG_DISCONT |
| int | length |
| Object | object |
| int | offset |
| long | timestamp |
| long | timestampEnd |
| long | time_offset |
| Constructor Summary | |
|---|---|
| Buffer() | |
| Method Summary | |
|---|---|
| void | copyData(byte[] data, int offset, int length)
copies data into the buffer.
|
| static Buffer | create() |
| void | ensureSize(int length) |
| void | free() |
| boolean | isFlagSet(int flag) |
| void | setFlag(int flag, boolean val) |
Parameters: data: the bytearray with data to copy offset: offset in the bytearray of first byte length: length of data to copy