Reads an unsigned 16 bit value from the stream, as an int. @return An unsigned 16 bit value. @throws WireParseException The end of the stream was reached.
()
| 167 | * @throws WireParseException The end of the stream was reached. |
| 168 | */ |
| 169 | public int |
| 170 | readU16() throws WireParseException { |
| 171 | require(2); |
| 172 | return (byteBuffer.getShort() & 0xFFFF); |
| 173 | } |
| 174 | |
| 175 | /** |
| 176 | * Reads an unsigned 32 bit value from the stream, as a long. |
no test coverage detected