Writes an unsigned 8 bit value to the stream. @param val The value to be written
(int val)
| 106 | * @param val The value to be written |
| 107 | */ |
| 108 | public void |
| 109 | writeU8(int val) { |
| 110 | check(val, 8); |
| 111 | need(1); |
| 112 | array[pos++] = (byte)(val & 0xFF); |
| 113 | } |
| 114 | |
| 115 | /** |
| 116 | * Writes an unsigned 16 bit value to the stream. |
no test coverage detected