Versions in this module Expand all Collapse all v1 v1.0.0 Jun 1, 2021 Changes in this version + func AppendBytes(b []byte, v []byte) []byte + func AppendFixed32(b []byte, v uint32) []byte + func AppendFixed64(b []byte, v uint64) []byte + func AppendGroup(b []byte, num Number, v []byte) []byte + func AppendString(b []byte, v string) []byte + func AppendTag(b []byte, num Number, typ Type) []byte + func AppendVarint(b []byte, v uint64) []byte + func ConsumeBytes(b []byte) (v []byte, n int) + func ConsumeField(b []byte) (Number, Type, int) + func ConsumeFieldValue(num Number, typ Type, b []byte) (n int) + func ConsumeFixed32(b []byte) (v uint32, n int) + func ConsumeFixed64(b []byte) (v uint64, n int) + func ConsumeGroup(num Number, b []byte) (v []byte, n int) + func ConsumeString(b []byte) (v string, n int) + func ConsumeTag(b []byte) (Number, Type, int) + func ConsumeVarint(b []byte) (v uint64, n int) + func DecodeBool(x uint64) bool + func DecodeTag(x uint64) (Number, Type) + func DecodeZigZag(x uint64) int64 + func EncodeBool(x bool) uint64 + func EncodeTag(num Number, typ Type) uint64 + func EncodeZigZag(x int64) uint64 + func ParseError(n int) error + func SizeBytes(n int) int + func SizeFixed32() int + func SizeFixed64() int + func SizeGroup(num Number, n int) int + func SizeTag(num Number) int + func SizeVarint(v uint64) int + type Number int32 + const FirstReservedNumber + const LastReservedNumber + const MaxValidNumber + const MinValidNumber + func (n Number) IsValid() bool + type Type int8 + const BytesType + const EndGroupType + const Fixed32Type + const Fixed64Type + const StartGroupType + const VarintType