Documentation
¶
Index ¶
- func Compress(s []byte) ([]byte, error)
- func DecodeToBlock(s []byte) (*blockchain.Block, error)
- func DecodeToBlockTree(s []byte) (*blockchain.BlockTree, error)
- func Decompress(s []byte) ([]byte, error)
- func EncodeToBytes(p interface{}) ([]byte, error)
- func ReadFromFile(path string) ([]byte, error)
- func WriteToFile(s []byte, file string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeToBlock ¶
func DecodeToBlock(s []byte) (*blockchain.Block, error)
func DecodeToBlockTree ¶
func DecodeToBlockTree(s []byte) (*blockchain.BlockTree, error)
func Decompress ¶
func EncodeToBytes ¶
func ReadFromFile ¶
func WriteToFile ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.