IntType
Integer logical type annotation.
bitWidth must be 8, 16, 32, or 64.
Allowed for physical types: INT32, INT64
Properties
- $_TSPEC : mixed
- $bitWidth : int
- $isSigned : bool
- $isValidate : mixed
Methods
- __construct() : mixed
- getName() : mixed
- read() : mixed
- write() : mixed
Properties
$_TSPEC
public
static mixed
$_TSPEC
= [1 => ['var' => 'bitWidth', 'isRequired' => true, 'type' => \Thrift\Type\TType::BYTE], 2 => ['var' => 'isSigned', 'isRequired' => true, 'type' => \Thrift\Type\TType::BOOL]]
$bitWidth
public
int
$bitWidth
$isSigned
public
bool
$isSigned
$isValidate
public
static mixed
$isValidate
= false
Methods
__construct()
public
__construct([mixed $vals = null ]) : mixed
Parameters
- $vals : mixed = null
getName()
public
getName() : mixed
read()
public
read(mixed $input) : mixed
Parameters
- $input : mixed
write()
public
write(mixed $output) : mixed
Parameters
- $output : mixed