In This Topic
Resets the MQ decoder to start a new segment. This is like recreating a new MQDecoder object with new input data.
Syntax
'Declaration
Public Sub nextSegment( _
ByVal () As Byte, _
ByVal As Integer, _
ByVal As Integer _
)
public void nextSegment(
byte[] ,
int ,
int
)
Parameters
- buf
- The byte array containing the MQ encoded data. If null the current byte array is assumed.
- 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.
- len
- The number of bytes in 'buf' to be decoded. Any subsequent bytes are taken to be 0xFF.
See Also