Add a short integer (2 bytes) to the message. @param val The integer to append
(int val)
| 122 | * @param val The integer to append |
| 123 | */ |
| 124 | public void appendInt(int val) { |
| 125 | buf[pos++] = (byte) ((val >>> 8) & 0xFF); |
| 126 | buf[pos++] = (byte) (val & 0xFF); |
| 127 | } |
| 128 | |
| 129 | |
| 130 | /** |
no outgoing calls