Reads an unsigned 8 bit value from the stream, as an int. @return An unsigned 8 bit value. @throws WireParseException The end of the stream was reached.
()
| 156 | * @throws WireParseException The end of the stream was reached. |
| 157 | */ |
| 158 | public int |
| 159 | readU8() throws WireParseException { |
| 160 | require(1); |
| 161 | return (byteBuffer.get() & 0xFF); |
| 162 | } |
| 163 | |
| 164 | /** |
| 165 | * Reads an unsigned 16 bit value from the stream, as an int. |
no test coverage detected