Skip to content
Back to top
View this page

# ValueUInt32

class dsviper.ValueUInt32(initial_value=None)

  Bases: `object`

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

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

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

    Return an uint32 or raise.

  copy() → ValueUInt32

    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) → ValueUInt32 | None

    Return an uint32 or None.

  type() → Type

    Return the type.

  type_code() → str

    Return the type code.