ValueInt8

class dsviper.ValueInt8(initial_value=None)

Bases: object

A class used to represent a value of type int8. Seamless with a Python int.

Or use Value.create(Type.INT8 [, initial_value]).

ONE = 1
ZERO = 0
static cast(value: Value) ValueInt8

Return an int8 or raise.

copy() ValueInt8

Return a deep copy.

description(*, namespace: NameSpace | None = None) str

Return the description.

encoded() int

Return a Python int.

hash() int

Return the hash value.

representation() str

Return the representation.

static try_parse(string: str) ValueInt8 | None

Return an int8 or None.

type() Type

Return the type.

type_code() str

Return the type code.