jnr.ffi
Class StructLayout.Padding

java.lang.Object
  extended by jnr.ffi.StructLayout.Field
      extended by jnr.ffi.StructLayout.AbstractField
          extended by jnr.ffi.StructLayout.Padding
Enclosing class:
StructLayout

protected final class StructLayout.Padding
extends StructLayout.AbstractField

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


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

Constructor Detail

StructLayout.Padding

public StructLayout.Padding(Type type,
                            int length)

StructLayout.Padding

public StructLayout.Padding(NativeType type,
                            int length)


Copyright © 2012. All Rights Reserved.