ValueInt64

class dsviper.ValueInt64(initial_value=None)

Bases: object

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

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

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

Return an int64 or raise.

copy() ValueInt64

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) ValueInt64 | None

Return an int64 or None.

type() Type

Return the type.

type_code() str

Return the type code.