com.kenai.jaffl.struct

Class Struct.Signed32

public class Struct.Signed32 extends Struct.NumberField

A 32 bit signed integer field.
Constructor Summary
Signed32()
Creates a new 32 bit integer field.
Signed32(Struct.Offset offset)
Creates a new 32 bit signed integer field at a specific offset
Method Summary
intget()
Gets the value for this field.
voidset(int value)
Sets the value for this field.
voidset(Number value)

Constructor Detail

Signed32

public Signed32()
Creates a new 32 bit integer field.

Signed32

public Signed32(Struct.Offset offset)
Creates a new 32 bit signed integer field at a specific offset

Parameters: offset The offset within the memory area for this field.

Method Detail

get

public final int get()
Gets the value for this field.

Returns: a int.

set

public final void set(int value)
Sets the value for this field.

Parameters: value the 32 bit value to set.

set

public void set(Number value)