Returns the next byte from the buffer.returnbyte value return data[offset++];
return data[offset++];
Returns the next short value from the buffer.returnshort value short s = Util.getShort(data, offset); offset += 2; return s;
short s = Util.getShort(data, offset); offset += 2; return s;
Initialises the parser.parambuff data buffer data = buff; offset = 0;
data = buff; offset = 0;
Changes the current offset to skip sequence of bytes.paramlen the number of bytes to skip offset += len;
offset += len;