[]
Resets the MQ decoder to start a new segment. This is like recreating a new MQDecoder object with new input data.
public void nextSegment(byte[] buf, int off, int len)
Type | Name | Description |
---|---|---|
byte[] | buf | The byte array containing the MQ encoded data. If null the current byte array is assumed. |
int | off | The index of the first element in 'buf' to be decoded. If negative the byte just after the previous segment is assumed, only valid if 'buf' is null. |
int | len | The number of bytes in 'buf' to be decoded. Any subsequent bytes are taken to be 0xFF. |