Documentation ¶
Overview ¶
Package blockchain provides the tools for encoding data primitives in blockchain structures
Index ¶
- Variables
- func ReadVarint31(r io.Reader) (uint32, int, error)
- func ReadVarint63(r io.Reader) (uint64, int, error)
- func ReadVarstr31(r io.Reader) ([]byte, int, error)
- func WriteVarint31(w io.Writer, val uint64) (int, error)
- func WriteVarint63(w io.Writer, val uint64) (int, error)
- func WriteVarstr31(w io.Writer, str []byte) (int, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrRange = errors.New("value out of range")
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.