Documentation ¶
Index ¶
- func DeserializeHash(hashBytes []byte) (*externalapi.DomainHash, error)
- func DeserializeHashes(hashesBytes []byte) ([]*externalapi.DomainHash, error)
- func DeserializeUint64(valueBytes []byte) (uint64, error)
- func SerializeHash(hash *externalapi.DomainHash) []byte
- func SerializeHashes(hashes []*externalapi.DomainHash) []byte
- func SerializeUint64(value uint64) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeserializeHash ¶
func DeserializeHash(hashBytes []byte) (*externalapi.DomainHash, error)
DeserializeHash deserializes a slice of bytes to a hash
func DeserializeHashes ¶
func DeserializeHashes(hashesBytes []byte) ([]*externalapi.DomainHash, error)
DeserializeHashes deserializes a slice of bytes to a slice of hashes
func DeserializeUint64 ¶
DeserializeUint64 deserializes bytes to uint64
func SerializeHash ¶
func SerializeHash(hash *externalapi.DomainHash) []byte
SerializeHash serializes hash to a slice of bytes
func SerializeHashes ¶
func SerializeHashes(hashes []*externalapi.DomainHash) []byte
SerializeHashes serializes a slice of hashes to a slice of bytes
func SerializeUint64 ¶
SerializeUint64 serializes a uint64
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.