jnr.ffi
Class Struct.Padding

java.lang.Object
  extended by jnr.ffi.Struct.Member
      extended by jnr.ffi.Struct.AbstractMember
          extended by jnr.ffi.Struct.Padding
Enclosing class:
Struct

protected final class Struct.Padding
extends Struct.AbstractMember

Specialized padding fields for structs. Use this instead of arrays of other members for more efficient struct construction.


Constructor Summary
Struct.Padding(NativeType type, int length)
           
Struct.Padding(Type type, int length)
           
 
Method Summary
 
Methods inherited from class jnr.ffi.Struct.AbstractMember
getMemory, offset, struct
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Struct.Padding

public Struct.Padding(Type type,
                      int length)

Struct.Padding

public Struct.Padding(NativeType type,
                      int length)


Copyright © 2012. All Rights Reserved.