Class HeapBuffer

  • All Implemented Interfaces:
    BufferResource, java.io.Closeable, java.lang.AutoCloseable

    public final class HeapBuffer
    extends java.lang.Object
    implements BufferResource
    • Constructor Summary

      Constructors 
      Constructor Description
      HeapBuffer​(int length, java.nio.ByteOrder endianness)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      HeapMemory memory()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HeapBuffer

        public HeapBuffer​(int length,
                          java.nio.ByteOrder endianness)
    • Method Detail

      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Throws:
        java.io.IOException