consts

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2026 License: CC0-1.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FieldCountMask     int64 = 16492674416640
	FieldCountPacked   int64 = 5497558138880
	FieldCountRepeated int64 = 2199023255552
	FieldCountSingle   int64 = 1099511627776
	FieldCountUnknown  int64 = 0
	FieldTypeBool      int64 = 34359738368
	FieldTypeBytes     int64 = 51539607552
	FieldTypeDouble    int64 = 4294967296
	FieldTypeEnum      int64 = 60129542144
	FieldTypeFixed32   int64 = 30064771072
	FieldTypeFixed64   int64 = 25769803776
	FieldTypeFloat     int64 = 8589934592
	FieldTypeInt32     int64 = 21474836480
	FieldTypeInt64     int64 = 12884901888
	FieldTypeMask      int64 = 1095216660480
	FieldTypeMessage   int64 = 47244640256
	FieldTypeSfixed32  int64 = 64424509440
	FieldTypeSfixed64  int64 = 68719476736
	FieldTypeSint32    int64 = 73014444032
	FieldTypeSint64    int64 = 77309411328
	FieldTypeString    int64 = 38654705664
	FieldTypeUint32    int64 = 55834574848
	FieldTypeUint64    int64 = 17179869184
)
View Source
const (
	FieldCountShift         int = 40
	FieldIdShift            int = 3
	FieldTypeShift          int = 32
	WireTypeEndGroup        int = 4
	WireTypeFixed32         int = 5
	WireTypeFixed64         int = 1
	WireTypeLengthDelimited int = 2
	WireTypeMask            int = 7
	WireTypeStartGroup      int = 3
	WireTypeVarint          int = 0
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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