ValueBlobId¶
- class dsviper.ValueBlobId(blob_layout, blob)¶
Bases:
objectA class used to represent a value of type blob_id. The uniq identifier is computed from the immutable content of the blob and the layout.
- INVALID = 0000000000000000000000000000000000000000¶
- static cast(value: Value) ValueBlobId¶
Return a blob_id or raise.
- copy() ValueBlobId¶
Return a deep copy.
- encoded() str¶
Return a blob_id.
- hash() int¶
Return the hash value.
- is_valid() bool¶
Return True if the value is not INVALID.
- representation() str¶
Return the representation.
- static try_parse(string: str) ValueBlobId | None¶
Return a blob_id or None.
- type_code() str¶
Return the type code.