quicvarint

package
v0.0.0-...-4c9d350 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Len

func Len(i uint64) protocol.ByteCount

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

func Read

func Read(b io.ByteReader) (uint64, error)

Read reads a number in the QUIC varint format

func Write

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

Write writes a number in the QUIC varint format

func WriteWithLen

func WriteWithLen(b *bytes.Buffer, i uint64, length protocol.ByteCount)

WriteWithLen writes a number in the QUIC varint format, with the desired length.

Types

This section is empty.

Jump to

Keyboard shortcuts

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