public void writeBytes(byte[] value, long offset) throws IOException { write(ByteBuffer.wrap(value), offset); }
public void writeInt(int value, long offset) throws IOException { ByteBuffer buf = ByteBuffer.allocate(4); buf.putInt(0, value); write(buf, offset); }
public void writeLong(long value, long offset) throws IOException { ByteBuffer buf = ByteBuffer.allocate(8); buf.putLong(0, value); write(buf, offset); }