(OutputStream out, long v)
| 248 | } |
| 249 | |
| 250 | public static void writeInt8(OutputStream out, long v) throws IOException { |
| 251 | byte[] b8 = new byte[8]; |
| 252 | putInt8(b8, 0, v); |
| 253 | out.write(b8); |
| 254 | } |
| 255 | public static void putInt8(byte[] data, int offset, long v) { |
| 256 | int i = offset; |
| 257 | data[i++] = (byte)((v >>> 0) & 0xFF); |