Module serde_utils

Module serde_utils 

Source
Expand description

Utilities for serialising/deserialising hexadecimal values.

Structs§

BytesAsHex
A byte array that serializes as a hex string.

Enums§

InnerDeserializationError
The error type returned by the inner deserialization.

Functions§

bytes_from_hex_str
Deserializes a Hex decoded as string to a byte array.
deserialize_optional_contract_class_abi_entry_vector
hex_str_from_bytes
Encodes a byte array to a string.

Type Aliases§

PrefixedBytesAsHex
A BytesAsHex prefixed with ‘0x’.