algopy_testing.serialize
Module Contents
Section titled “Module Contents”Functions
Section titled “Functions”identity(→ _T) | |
|---|---|
get_native_to_arc4_serializer(→ _Serializer[Any, Any]) | |
serialize_to_bytes(→ bytes) | |
type_of(→ type) | Returns the type of value, this will also ensure the type is fully parametrized |
native_to_arc4(→ algopy_testing.arc4._ABIEncoded) | |
compare_type(→ bool) | |
deserialize_from_bytes(→ _T) |
identity(i: _T) → _T
Section titled “identity(i: _T) → _T”get_native_to_arc4_serializer(typ: type) → _Serializer[Any, Any]
Section titled “get_native_to_arc4_serializer(typ: type) → _Serializer[Any, Any]”serialize_to_bytes(value: object) → bytes
Section titled “serialize_to_bytes(value: object) → bytes”type_of(value: object) → type
Section titled “type_of(value: object) → type”Returns the type of value, this will also ensure the type is fully parametrized if it is a generic type.