Exemplo n.º 1
0
 /**
  * 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);
 }
Exemplo n.º 2
0
 /**
  * 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);
 }