Documentation
¶
Index ¶
- type BitSet
- func (b *BitSet) Clone() *BitSet
- func (m *BitSet) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *BitSet) CloneVT() *BitSet
- func (this *BitSet) EqualMessageVT(thatMsg any) bool
- func (this *BitSet) EqualVT(that *BitSet) bool
- func (x *BitSet) GetLen() uint32
- func (x *BitSet) GetSet() []uint64
- func (b *BitSet) MarshalBlock() ([]byte, error)
- func (x *BitSet) MarshalJSON() ([]byte, error)
- func (x *BitSet) MarshalProtoJSON(s *json.MarshalState)
- func (x *BitSet) MarshalProtoText() string
- func (m *BitSet) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *BitSet) MarshalToVT(dAtA []byte) (int, error)
- func (m *BitSet) MarshalVT() (dAtA []byte, err error)
- func (*BitSet) ProtoMessage()
- func (x *BitSet) Reset()
- func (m *BitSet) SizeVT() (n int)
- func (x *BitSet) String() string
- func (b *BitSet) ToBitSet() *bb.BitSet
- func (b *BitSet) UnmarshalBlock(data []byte) error
- func (x *BitSet) UnmarshalJSON(b []byte) error
- func (x *BitSet) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *BitSet) UnmarshalVT(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BitSet ¶
type BitSet struct {
// Set is the set of uint64 representing the bitset.
Set []uint64 `protobuf:"varint,1,rep,packed,name=set,proto3" json:"set,omitempty"`
// Len is the length of the bitset.
Len uint32 `protobuf:"varint,2,opt,name=len,proto3" json:"len,omitempty"`
// contains filtered or unexported fields
}
BitSet is a block-backed BitSet representation.
func NewBitset ¶
NewBitset constructs a new bitset from an existing bitset. if input is nil, returns nil
func (*BitSet) CloneMessageVT ¶
func (m *BitSet) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*BitSet) EqualMessageVT ¶
func (*BitSet) MarshalBlock ¶
MarshalBlock marshals the block to binary.
func (*BitSet) MarshalJSON ¶
MarshalJSON marshals the BitSet to JSON.
func (*BitSet) MarshalProtoJSON ¶
func (x *BitSet) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the BitSet message to JSON.
func (*BitSet) MarshalProtoText ¶
func (*BitSet) MarshalToSizedBufferVT ¶
func (*BitSet) ProtoMessage ¶
func (*BitSet) ProtoMessage()
func (*BitSet) UnmarshalBlock ¶
UnmarshalBlock unmarshals the block to the object.
func (*BitSet) UnmarshalJSON ¶
UnmarshalJSON unmarshals the BitSet from JSON.
func (*BitSet) UnmarshalProtoJSON ¶
func (x *BitSet) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the BitSet message from JSON.
func (*BitSet) UnmarshalVT ¶
Click to show internal directories.
Click to hide internal directories.