Interface MemoryBlock


public interface MemoryBlock
Defines a block of memory. The memory can be read/written using a ByteBuffer provided by createByteBuffer().
Since:
API version 7
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates a ByteBuffer that can be used to read/write the data at this memory block.
    int
    The size in bytes of this memory block.
  • Method Details

    • size

      int size()
      The size in bytes of this memory block.
    • createByteBuffer

      ByteBuffer createByteBuffer()
      Creates a ByteBuffer that can be used to read/write the data at this memory block.