Class NativeBuffer

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

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

      Constructors 
      Constructor Description
      NativeBuffer​(long length, java.nio.ByteOrder order)  
    • Constructor Detail

      • NativeBuffer

        public NativeBuffer​(long length,
                            java.nio.ByteOrder order)
    • Method Detail

      • mlock

        public void mlock​(long position,
                          long length)
      • munlock

        public void munlock​(long position,
                            long length)
      • 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