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 ¶ added in v0.10.0
func DeserializeHashes(hashesBytes []byte) ([]*externalapi.DomainHash, error)
DeserializeHashes deserializes a slice of bytes to a slice of hashes
func DeserializeUint64 ¶ added in v0.10.0
DeserializeUint64 deserializes bytes to uint64
func SerializeHash ¶
func SerializeHash(hash *externalapi.DomainHash) []byte
SerializeHash serializes hash to a slice of bytes
func SerializeHashes ¶ added in v0.10.0
func SerializeHashes(hashes []*externalapi.DomainHash) []byte
SerializeHashes serializes a slice of hashes to a slice of bytes
func SerializeUint64 ¶ added in v0.10.0
SerializeUint64 serializes a uint64
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.