blockchain

package
v0.0.0-...-59fa258 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2016 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package blockchain provides the tools for encoding data primitives in blockchain structures

Index

Constants

This section is empty.

Variables

View Source
var ErrRange = errors.New("value out of range")

Functions

func ReadVarint31

func ReadVarint31(r io.Reader) (uint32, int, error)

func ReadVarint63

func ReadVarint63(r io.Reader) (uint64, int, error)

func ReadVarstr31

func ReadVarstr31(r io.Reader) ([]byte, int, error)

func WriteVarint31

func WriteVarint31(w io.Writer, val uint64) (int, error)

func WriteVarint63

func WriteVarint63(w io.Writer, val uint64) (int, error)

func WriteVarstr31

func WriteVarstr31(w io.Writer, str []byte) (int, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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