(OutputStream out, long v)
| 277 | } |
| 278 | |
| 279 | public static void writeInt3BE(OutputStream out, long v) throws IOException { |
| 280 | byte[] b3 = new byte[3]; |
| 281 | putInt3BE(b3, 0, v); |
| 282 | out.write(b3); |
| 283 | } |
| 284 | public static void putInt3BE(byte[] data, int offset, long v) { |
| 285 | int i = offset; |
| 286 | data[i+2] = (byte)((v >>> 0) & 0xFF); |