Peach :: Generators :: data :: AsInt16 :: Class AsInt16
[hide private]

Class AsInt16

source code


Cause generated value to be a 16 bit number

Instance Methods [hide private]
 
__init__(self, group, generator, isSigned=1, isLittleEndian=1) source code

Inherited from _AsInt: getRawValue, next, reset

Inherited from _AsInt (private): _getValue

Class Variables [hide private]

Inherited from _AsInt (private): _inMe, _last

Method Details [hide private]

__init__(self, group, generator, isSigned=1, isLittleEndian=1)
(Constructor)

source code 
Parameters:
  • isSigned (number) - 1 for signed, 0 for unsigned
  • isLittleEndian (number) - 1 for little, 0 for big