lib

package
v0.0.0-...-434cb5b Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2023 License: AGPL-3.0 Imports: 3 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EncodeVarInt

func EncodeVarInt(i uint64) []byte

func ReadVarIntValue

func ReadVarIntValue(b io.ByteReader) (uint64, int, error)

ReadVarIntValue reads a number in the QUIC varint format

func VarIntLen

func VarIntLen(i uint64) int

VarIntLen determines the number of bytes that will be needed to write a number

func WriteVarInt

func WriteVarInt(b *bytes.Buffer, i uint64)

WriteVarInt writes a number in the QUIC varint format

Types

This section is empty.

Jump to

Keyboard shortcuts

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