Search and commands

↑ ↓ to select · Enter to open · Esc to close

Type to search packages.

pgio

v3.0.1+incompatible
github.com/crvv/pgx/pgio

Documentation

pkg.go.dev ↗

Table of contents

↓ to select · Enter to jump· Shift+Enter for source

8 matches

Top ↑

Package pgio is a low-level toolkit building messages in the PostgreSQL wire protocol.

pgio provides functions for appending integers to a []byte while doing byte order conversion.

Functions

AppendInt16

func AppendInt16(buf []byte, n int16) []byte

AppendInt32

func AppendInt32(buf []byte, n int32) []byte

AppendInt64

func AppendInt64(buf []byte, n int64) []byte

AppendUint16

func AppendUint16(buf []byte, n uint16) []byte

AppendUint32

func AppendUint32(buf []byte, n uint32) []byte

AppendUint64

func AppendUint64(buf []byte, n uint64) []byte

SetInt32

func SetInt32(buf []byte, n int32)

Dependency graph