package protobuf
import "41.neocities.org/protobuf"
Index ¶
- type Bytes
- type Field
- type I32
- type I64
- type LenPrefix
- type Message
- func (m *Message) Add(num Number, v func(*Message))
- func (m *Message) AddBytes(num Number, v Bytes)
- func (m *Message) AddI32(num Number, v I32)
- func (m *Message) AddI64(num Number, v I64)
- func (m *Message) AddVarint(num Number, v Varint)
- func (m Message) Append(data []byte, num Number) []byte
- func (m Message) Get(num Number) func() (Message, bool)
- func (m Message) GetBytes(num Number) func() (Bytes, bool)
- func (m Message) GetI32(num Number) func() (I32, bool)
- func (m Message) GetI64(num Number) func() (I64, bool)
- func (m Message) GetVarint(num Number) func() (Varint, bool)
- func (m Message) GoString() string
- func (m Message) Marshal() []byte
- func (m *Message) Unmarshal(data []byte) error
- type Number
- type Value
- type Varint
Types ¶
type Bytes ¶
type Bytes []byte
protobuf.dev/programming-guides/encoding#cheat-sheet
func (Bytes) Append ¶
func (Bytes) GoString ¶
type Field ¶
protobuf.dev/programming-guides/encoding#cheat-sheet-key
type I32 ¶
type I32 uint32
protobuf.dev/programming-guides/encoding#cheat-sheet
func (I32) Append ¶
func (I32) GoString ¶
type I64 ¶
type I64 uint64
protobuf.dev/programming-guides/encoding#cheat-sheet
func (I64) Append ¶
func (I64) GoString ¶
type LenPrefix ¶
protobuf.dev/programming-guides/encoding#cheat-sheet
func (*LenPrefix) Append ¶
func (*LenPrefix) GoString ¶
type Message ¶
type Message []Field
protobuf.dev/programming-guides/encoding#cheat-sheet
func (*Message) Add ¶
wikipedia.org/wiki/Continuation-passing_style
func (*Message) AddBytes ¶
func (*Message) AddI32 ¶
func (*Message) AddI64 ¶
func (*Message) AddVarint ¶
func (Message) Append ¶
func (Message) Get ¶
func (Message) GetBytes ¶
func (Message) GetI32 ¶
func (Message) GetI64 ¶
func (Message) GetVarint ¶
func (Message) GoString ¶
func (Message) Marshal ¶
func (*Message) Unmarshal ¶
type Number ¶
protobuf.dev/programming-guides/encoding#cheat-sheet-key
type Value ¶
type Value interface { Append([]byte, Number) []byte fmt.GoStringer }
protobuf.dev/programming-guides/encoding#cheat-sheet
type Varint ¶
type Varint uint64
protobuf.dev/programming-guides/encoding#cheat-sheet
func (Varint) Append ¶
func (Varint) GoString ¶
Source Files ¶
- Version
- v1.4.5 (latest)
- Published
- Feb 11, 2025
- Platform
- linux/amd64
- Imports
- 4 packages
- Last checked
- 1 month ago –
Tools for package owners.