Package jnr.posix

Class BaseIovec

  • All Implemented Interfaces:
    Iovec

    public class BaseIovec
    extends java.lang.Object
    implements Iovec
    Author:
    Bob McWhirter
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  BaseIovec.Layout  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected BaseIovec​(NativePOSIX posix)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.nio.ByteBuffer get()  
      protected int getLen()  
      void set​(java.nio.ByteBuffer buf)  
      protected void setLen​(int len)  
      java.lang.String toString​(java.lang.String indent)  
      • Methods inherited from class java.lang.Object

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

      • memory

        protected final jnr.ffi.Pointer memory
    • Constructor Detail

      • BaseIovec

        protected BaseIovec​(NativePOSIX posix)
    • Method Detail

      • toString

        public java.lang.String toString​(java.lang.String indent)
      • get

        public java.nio.ByteBuffer get()
        Specified by:
        get in interface Iovec
      • set

        public void set​(java.nio.ByteBuffer buf)
        Specified by:
        set in interface Iovec
      • setLen

        protected void setLen​(int len)
      • getLen

        protected int getLen()