View definition

func VarIntSerializeSize(val uint64) int

Defined in github.com/btcsuite/btcd/wire/common.go

Description

VarIntSerializeSize returns the number of bytes it would take to serialize val as a variable length integer.

VarIntSerializeSize is referenced in 3 repositories

github.com/stevenroose/btcd github.com/jongillham/btcd github.com/dskloet/btcd