binaryserialization

package
v0.9.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 30, 2021 License: ISC Imports: 2 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeserializeChainBlockIndex

func DeserializeChainBlockIndex(indexBytes []byte) uint64

DeserializeChainBlockIndex deserializes chain block index to uint64

func DeserializeHash

func DeserializeHash(hashBytes []byte) (*externalapi.DomainHash, error)

DeserializeHash a slice of bytes to a hash

func SerializeChainBlockIndex

func SerializeChainBlockIndex(index uint64) []byte

SerializeChainBlockIndex serializes chain block index

func SerializeHash

func SerializeHash(hash *externalapi.DomainHash) []byte

SerializeHash serializes hash to a slice of bytes

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL