snappb

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthSnap = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSnap   = fmt.Errorf("proto: integer overflow")
)

Functions

This section is empty.

Types

type Snapshot

type Snapshot struct {
	Crc  uint32 `protobuf:"varint,1,opt,name=crc" json:"crc"`
	Data []byte `protobuf:"bytes,2,opt,name=data" json:"data"`
}

func (*Snapshot) Descriptor

func (*Snapshot) Descriptor() ([]byte, []int)

func (*Snapshot) Marshal

func (m *Snapshot) Marshal() (dAtA []byte, err error)

func (*Snapshot) MarshalTo

func (m *Snapshot) MarshalTo(dAtA []byte) (int, error)

func (*Snapshot) ProtoMessage

func (*Snapshot) ProtoMessage()

func (*Snapshot) Reset

func (m *Snapshot) Reset()

func (*Snapshot) Size

func (m *Snapshot) Size() (n int)

func (*Snapshot) String

func (m *Snapshot) String() string

func (*Snapshot) Unmarshal

func (m *Snapshot) Unmarshal(dAtA []byte) error

func (*Snapshot) XXX_DiscardUnknown added in v0.7.1

func (m *Snapshot) XXX_DiscardUnknown()

func (*Snapshot) XXX_Marshal added in v0.7.1

func (m *Snapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Snapshot) XXX_Merge added in v0.7.1

func (m *Snapshot) XXX_Merge(src proto.Message)

func (*Snapshot) XXX_Size added in v0.7.1

func (m *Snapshot) XXX_Size() int

func (*Snapshot) XXX_Unmarshal added in v0.7.1

func (m *Snapshot) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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