bits

package
v0.14.0-dev.4 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthTypes        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypes          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type BitArray

type BitArray struct {
	Bits  int64    `protobuf:"varint,1,opt,name=bits,proto3" json:"bits,omitempty"`
	Elems []uint64 `protobuf:"varint,2,rep,packed,name=elems,proto3" json:"elems,omitempty"`
}

func (*BitArray) Descriptor

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

func (*BitArray) GetBits

func (m *BitArray) GetBits() int64

func (*BitArray) GetElems

func (m *BitArray) GetElems() []uint64

func (*BitArray) Marshal

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

func (*BitArray) MarshalTo

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

func (*BitArray) MarshalToSizedBuffer

func (m *BitArray) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BitArray) ProtoMessage

func (*BitArray) ProtoMessage()

func (*BitArray) Reset

func (m *BitArray) Reset()

func (*BitArray) Size

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

func (*BitArray) String

func (m *BitArray) String() string

func (*BitArray) Unmarshal

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

func (*BitArray) XXX_DiscardUnknown

func (m *BitArray) XXX_DiscardUnknown()

func (*BitArray) XXX_Marshal

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

func (*BitArray) XXX_Merge

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

func (*BitArray) XXX_Size

func (m *BitArray) XXX_Size() int

func (*BitArray) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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