ValueBlob¶
- class dsviper.ValueBlob(initial_value=None)¶
Bases:
objectA class used to represent a value of type blob. Seamless with bytes, bytearray and base64_string.
Or use Value.create(Type.BLOB [, initial_value]).
- base64_encode() str¶
Return the base64 encoded string representation of this blob.
- embed(name: str) str¶
Return the c++ representation of a blob.
- encoded() bytes¶
Return a Python bytes.
- hash() int¶
Return the hash value.
- representation() str¶
Return the representation.
- sha1() str¶
Return the hexdigest (SHA1).
- size() int¶
Return the size.
- type_code() str¶
Return the type code.