structure

package
v0.0.0-...-8bd0779 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RDB6BitLen      = 0 // RDB_6BITLEN
	RDB14BitLen     = 1 // RDB_14BITLEN
	RDB32or64BitLen = 2
	RDBEncVal       = 3 // RDB_ENCVAL
	RDB32BitLen     = 0x80
	RDB64BitLen     = 0x81
)
View Source
const (
	RDBEncInt8  = 0 // RDB_ENC_INT8
	RDBEncInt16 = 1 // RDB_ENC_INT16
	RDBEncInt32 = 2 // RDB_ENC_INT32
	RDBEncLZF   = 3 // RDB_ENC_LZF
)

Variables

This section is empty.

Functions

func ReadByte

func ReadByte(rd io.Reader) byte

func ReadBytes

func ReadBytes(rd io.Reader, n int) []byte

func ReadDouble

func ReadDouble(rd io.Reader) float64

func ReadFloat

func ReadFloat(rd io.Reader) float64

func ReadInt16

func ReadInt16(rd io.Reader) int16

func ReadInt24

func ReadInt24(rd io.Reader) int32

func ReadInt32

func ReadInt32(rd io.Reader) int32

func ReadInt64

func ReadInt64(rd io.Reader) int64

func ReadInt8

func ReadInt8(rd io.Reader) int8

func ReadIntset

func ReadIntset(rd io.Reader) []string

func ReadLength

func ReadLength(rd io.Reader) uint64

func ReadListpack

func ReadListpack(rd io.Reader) []string

func ReadString

func ReadString(rd io.Reader) string

func ReadUint16

func ReadUint16(rd io.Reader) uint16

func ReadUint24

func ReadUint24(rd io.Reader) uint32

func ReadUint32

func ReadUint32(rd io.Reader) uint32

func ReadUint64

func ReadUint64(rd io.Reader) uint64

func ReadUint8

func ReadUint8(rd io.Reader) uint8

func ReadZipList

func ReadZipList(rd io.Reader) []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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