/** * Write the bytes from a byte array to an offset in the Memory Pool * * @param offset An offset into the pool * @param data The byte array to pull from * @param size The number of bytes to write */ public void write(int offset, byte[] data, int size) { pool.write(data, offset, size); }
/** * Write a byte to an offset in the Memory Pool * * @param offset An offset into the pool * @param data The byte to write */ public void write(int offset, byte data) { pool.write(data, offset); }