proto

package
v2.0.0-...-d29d931 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoolMarshal

func BoolMarshal(field int, buf []byte, v bool) (int, error)

func BoolSize

func BoolSize(field int, v bool) int

func BytesMarshal

func BytesMarshal(field int, buf, v []byte) (int, error)

func BytesSize

func BytesSize(field int, v []byte) int

func EnumMarshal

func EnumMarshal(field int, buf []byte, v int32) (int, error)

func EnumSize

func EnumSize(field int, v int32) int

func Fixed64Marshal

func Fixed64Marshal(field int, buf []byte, v uint64) (int, error)

func Fixed64Size

func Fixed64Size(fNum int, v uint64) int

func Int32Marshal

func Int32Marshal(field int, buf []byte, v int32) (int, error)

func Int32Size

func Int32Size(field int, v int32) int

func Int64Marshal

func Int64Marshal(field int, buf []byte, v int64) (int, error)

func Int64Size

func Int64Size(field int, v int64) int

func NestedStructureMarshal

func NestedStructureMarshal(field int64, buf []byte, v stableMarshaller) (int, error)

func NestedStructurePrefix

func NestedStructurePrefix(field int64) (prefix uint64, ln int)

func NestedStructureSize

func NestedStructureSize(field int64, v stableMarshaller) (size int)

func RepeatedBytesMarshal

func RepeatedBytesMarshal(field int, buf []byte, v [][]byte) (int, error)

func RepeatedBytesSize

func RepeatedBytesSize(field int, v [][]byte) (size int)

func RepeatedInt32Marshal

func RepeatedInt32Marshal(field int, buf []byte, v []int32) (int, error)

func RepeatedInt32Size

func RepeatedInt32Size(field int, v []int32) (size, arraySize int)

func RepeatedInt64Marshal

func RepeatedInt64Marshal(field int, buf []byte, v []int64) (int, error)

func RepeatedInt64Size

func RepeatedInt64Size(field int, v []int64) (size, arraySize int)

func RepeatedStringMarshal

func RepeatedStringMarshal(field int, buf []byte, v []string) (int, error)

func RepeatedStringSize

func RepeatedStringSize(field int, v []string) (size int)

func RepeatedUInt32Marshal

func RepeatedUInt32Marshal(field int, buf []byte, v []uint32) (int, error)

func RepeatedUInt32Size

func RepeatedUInt32Size(field int, v []uint32) (size, arraySize int)

func RepeatedUInt64Marshal

func RepeatedUInt64Marshal(field int, buf []byte, v []uint64) (int, error)

func RepeatedUInt64Size

func RepeatedUInt64Size(field int, v []uint64) (size, arraySize int)

func StringMarshal

func StringMarshal(field int, buf []byte, v string) (int, error)

func StringSize

func StringSize(field int, v string) int

func UInt32Marshal

func UInt32Marshal(field int, buf []byte, v uint32) (int, error)

func UInt32Size

func UInt32Size(field int, v uint32) int

func UInt64Marshal

func UInt64Marshal(field int, buf []byte, v uint64) (int, error)

func UInt64Size

func UInt64Size(field int, v uint64) int

func VarUIntSize

func VarUIntSize(x uint64) int

varUIntSize returns length of varint byte sequence for uint64 value 'x'.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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