dump

package
v1.1.0-beta.0...-d6b313f Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BinaryDateTime

func BinaryDateTime(data []byte, t types.Time) []byte

BinaryDateTime dumps a datetime as binary byte slice.

func BinaryTime

func BinaryTime(dur time.Duration) (data []byte)

BinaryTime dumps a time as binary byte slice.

func LengthEncodedInt

func LengthEncodedInt(buffer []byte, n uint64) []byte

LengthEncodedInt dumps an integer as length encoded byte slice.

func LengthEncodedString

func LengthEncodedString(buffer []byte, bytes []byte) []byte

LengthEncodedString dumps a string as length encoded byte slice.

func Uint16

func Uint16(buffer []byte, n uint16) []byte

Uint16 dumps an uint16 as byte slice.

func Uint32

func Uint32(buffer []byte, n uint32) []byte

Uint32 dumps an uint32 as byte slice.

func Uint64

func Uint64(buffer []byte, n uint64) []byte

Uint64 dumps an uint64 as byte slice.

Types

This section is empty.

Jump to

Keyboard shortcuts

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