varint

package module
v0.0.0-...-6543f36 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2020 License: MIT Imports: 5 Imported by: 0

README

Go Varint Helper Module

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(buffer []byte) (*big.Int, int)

func Encode

func Encode(value big.Int) []byte

func HexToBig

func HexToBig(value string) big.Int

func IPToVarint

func IPToVarint(address net.IP) []byte

func UInt16ToBig

func UInt16ToBig(value uint16) big.Int

func UInt32ToBig

func UInt32ToBig(value uint32) big.Int

func UInt64ToBig

func UInt64ToBig(value uint64) big.Int

func UInt8ToBig

func UInt8ToBig(value uint8) big.Int

func VarintToIP

func VarintToIP(buffer []byte) (net.IP, int)

Types

This section is empty.

Jump to

Keyboard shortcuts

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