binaryutil

package
v1.5.1-0...-dd481f3 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2019 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UvarintSize

func UvarintSize(x uint64) int

UvarintSize returns the number of bytes to uvarint encode x. This code is copied from encoding/binary.PutUvarint() with the buffer removed.

func VarintSize

func VarintSize(x int64) int

VarintSize returns the number of bytes to varint encode x. This code is copied from encoding/binary.PutVarint() with the buffer removed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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