예제 #1
0
 /**
  * Read a byte array from the memory pool
  *
  * @param offset The offset to read from
  * @param data A byte array to read into
  * @param size The number of bytes to read
  */
 public void read(int offset, byte[] data, int size) {
   pool.read(data, offset, size);
 }
예제 #2
0
 /**
  * Read a single byte from the Memory Pool
  *
  * @param offset The byte to read from
  * @return The byte at that location in the Memory Pool
  */
 public byte read(int offset) {
   return pool.read(offset);
 }