bin

package
v0.0.0-...-0db62fc Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseAddrPort

func ParseAddrPort(b [18]byte) netip.AddrPort

func PutAddrPort

func PutAddrPort(ap netip.AddrPort) []byte

func ReadUint32

func ReadUint32(reader *bufio.Reader) (uint32, error)

ReadUint32 reads an uint32 in big-endian order to the reader

func WriteUint32

func WriteUint32(writer *bufio.Writer, v uint32) error

WriteUint32 writes an uint32 in big-endian order to the writer

Types

This section is empty.

Jump to

Keyboard shortcuts

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