ValueInt32¶
- class dsviper.ValueInt32(initial_value=None)¶
Bases:
objectA class used to represent a value of type int32. Seamless with a Python int.
Or use Value.create(Type.INT32 [, initial_value]).
- ONE = 1¶
- ZERO = 0¶
- static cast(value: Value) ValueInt32¶
Return an int32 or raise.
- copy() ValueInt32¶
Return a deep copy.
- encoded() int¶
Return a Python int.
- hash() int¶
Return the hash value.
- representation() str¶
Return the representation.
- static try_parse(string: str) ValueInt32 | None¶
Return an int32 or None.
- type_code() str¶
Return the type code.