Documentation ¶
Index ¶
- func BoolMarshal(field int, buf []byte, v bool) (int, error)
- func BoolSize(field int, v bool) int
- func BytesMarshal(field int, buf, v []byte) (int, error)
- func BytesSize(field int, v []byte) int
- func EnumMarshal(field int, buf []byte, v int32) (int, error)
- func EnumSize(field int, v int32) int
- func Fixed64Marshal(field int, buf []byte, v uint64) (int, error)
- func Fixed64Size(fNum int, v uint64) int
- func Int32Marshal(field int, buf []byte, v int32) (int, error)
- func Int32Size(field int, v int32) int
- func Int64Marshal(field int, buf []byte, v int64) (int, error)
- func Int64Size(field int, v int64) int
- func NestedStructureMarshal(field int64, buf []byte, v stableMarshaller) (int, error)
- func NestedStructurePrefix(field int64) (prefix uint64, ln int)
- func NestedStructureSize(field int64, v stableMarshaller) (size int)
- func RepeatedBytesMarshal(field int, buf []byte, v [][]byte) (int, error)
- func RepeatedBytesSize(field int, v [][]byte) (size int)
- func RepeatedInt32Marshal(field int, buf []byte, v []int32) (int, error)
- func RepeatedInt32Size(field int, v []int32) (size, arraySize int)
- func RepeatedInt64Marshal(field int, buf []byte, v []int64) (int, error)
- func RepeatedInt64Size(field int, v []int64) (size, arraySize int)
- func RepeatedStringMarshal(field int, buf []byte, v []string) (int, error)
- func RepeatedStringSize(field int, v []string) (size int)
- func RepeatedUInt32Marshal(field int, buf []byte, v []uint32) (int, error)
- func RepeatedUInt32Size(field int, v []uint32) (size, arraySize int)
- func RepeatedUInt64Marshal(field int, buf []byte, v []uint64) (int, error)
- func RepeatedUInt64Size(field int, v []uint64) (size, arraySize int)
- func StringMarshal(field int, buf []byte, v string) (int, error)
- func StringSize(field int, v string) int
- func UInt32Marshal(field int, buf []byte, v uint32) (int, error)
- func UInt32Size(field int, v uint32) int
- func UInt64Marshal(field int, buf []byte, v uint64) (int, error)
- func UInt64Size(field int, v uint64) int
- func VarUIntSize(x uint64) int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Fixed64Size ¶
func NestedStructureMarshal ¶
func NestedStructurePrefix ¶
func NestedStructureSize ¶
func RepeatedBytesMarshal ¶
func RepeatedBytesSize ¶
func RepeatedInt32Marshal ¶
func RepeatedInt32Size ¶
func RepeatedInt64Marshal ¶
func RepeatedInt64Size ¶
func RepeatedStringMarshal ¶
func RepeatedStringSize ¶
func RepeatedUInt32Marshal ¶
func RepeatedUInt32Size ¶
func RepeatedUInt64Marshal ¶
func RepeatedUInt64Size ¶
func StringSize ¶
func UInt32Size ¶
func UInt64Size ¶
func VarUIntSize ¶
varUIntSize returns length of varint byte sequence for uint64 value 'x'.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.