binaryutil

package
v1.7.6 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 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