 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- type Byte
- type ByteSorted
- func (s ByteSorted) AsSlice() []byte
- func (s *ByteSorted) DecodeMsg(reader *msgp.Reader) error
- func (s ByteSorted) EncodeMsg(writer *msgp.Writer) error
- func (s ByteSorted) MarshalMsg(bytes []byte) ([]byte, error)
- func (s ByteSorted) Msgsize() int
- func (s *ByteSorted) UnmarshalMsg(bytes []byte) ([]byte, error)
 
- type Float32
- type Float32Sorted
- func (s Float32Sorted) AsSlice() []float32
- func (s *Float32Sorted) DecodeMsg(reader *msgp.Reader) error
- func (s Float32Sorted) EncodeMsg(writer *msgp.Writer) error
- func (s Float32Sorted) MarshalMsg(bytes []byte) ([]byte, error)
- func (s Float32Sorted) Msgsize() int
- func (s *Float32Sorted) UnmarshalMsg(bytes []byte) ([]byte, error)
 
- type Float64
- type Float64Sorted
- func (s Float64Sorted) AsSlice() []float64
- func (s *Float64Sorted) DecodeMsg(reader *msgp.Reader) error
- func (s Float64Sorted) EncodeMsg(writer *msgp.Writer) error
- func (s Float64Sorted) MarshalMsg(bytes []byte) ([]byte, error)
- func (s Float64Sorted) Msgsize() int
- func (s *Float64Sorted) UnmarshalMsg(bytes []byte) ([]byte, error)
 
- type Int
- type Int16
- type Int16Sorted
- func (s Int16Sorted) AsSlice() []int16
- func (s *Int16Sorted) DecodeMsg(reader *msgp.Reader) error
- func (s Int16Sorted) EncodeMsg(writer *msgp.Writer) error
- func (s Int16Sorted) MarshalMsg(bytes []byte) ([]byte, error)
- func (s Int16Sorted) Msgsize() int
- func (s *Int16Sorted) UnmarshalMsg(bytes []byte) ([]byte, error)
 
- type Int32
- type Int32Sorted
- func (s Int32Sorted) AsSlice() []int32
- func (s *Int32Sorted) DecodeMsg(reader *msgp.Reader) error
- func (s Int32Sorted) EncodeMsg(writer *msgp.Writer) error
- func (s Int32Sorted) MarshalMsg(bytes []byte) ([]byte, error)
- func (s Int32Sorted) Msgsize() int
- func (s *Int32Sorted) UnmarshalMsg(bytes []byte) ([]byte, error)
 
- type Int64
- type Int64Sorted
- func (s Int64Sorted) AsSlice() []int64
- func (s *Int64Sorted) DecodeMsg(reader *msgp.Reader) error
- func (s Int64Sorted) EncodeMsg(writer *msgp.Writer) error
- func (s Int64Sorted) MarshalMsg(bytes []byte) ([]byte, error)
- func (s Int64Sorted) Msgsize() int
- func (s *Int64Sorted) UnmarshalMsg(bytes []byte) ([]byte, error)
 
- type Int8
- type Int8Sorted
- func (s Int8Sorted) AsSlice() []int8
- func (s *Int8Sorted) DecodeMsg(reader *msgp.Reader) error
- func (s Int8Sorted) EncodeMsg(writer *msgp.Writer) error
- func (s Int8Sorted) MarshalMsg(bytes []byte) ([]byte, error)
- func (s Int8Sorted) Msgsize() int
- func (s *Int8Sorted) UnmarshalMsg(bytes []byte) ([]byte, error)
 
- type IntSorted
- func (s IntSorted) AsSlice() []int
- func (s *IntSorted) DecodeMsg(reader *msgp.Reader) error
- func (s IntSorted) EncodeMsg(writer *msgp.Writer) error
- func (s IntSorted) MarshalMsg(bytes []byte) ([]byte, error)
- func (s IntSorted) Msgsize() int
- func (s *IntSorted) UnmarshalMsg(bytes []byte) ([]byte, error)
 
- type String
- type StringSorted
- func (s StringSorted) AsSlice() []string
- func (s *StringSorted) DecodeMsg(reader *msgp.Reader) error
- func (s StringSorted) EncodeMsg(writer *msgp.Writer) error
- func (s StringSorted) MarshalMsg(bytes []byte) ([]byte, error)
- func (s StringSorted) Msgsize() int
- func (s *StringSorted) UnmarshalMsg(bytes []byte) ([]byte, error)
 
- type Uint
- type Uint16
- type Uint16Sorted
- func (s Uint16Sorted) AsSlice() []uint16
- func (s *Uint16Sorted) DecodeMsg(reader *msgp.Reader) error
- func (s Uint16Sorted) EncodeMsg(writer *msgp.Writer) error
- func (s Uint16Sorted) MarshalMsg(bytes []byte) ([]byte, error)
- func (s Uint16Sorted) Msgsize() int
- func (s *Uint16Sorted) UnmarshalMsg(bytes []byte) ([]byte, error)
 
- type Uint32
- type Uint32Sorted
- func (s Uint32Sorted) AsSlice() []uint32
- func (s *Uint32Sorted) DecodeMsg(reader *msgp.Reader) error
- func (s Uint32Sorted) EncodeMsg(writer *msgp.Writer) error
- func (s Uint32Sorted) MarshalMsg(bytes []byte) ([]byte, error)
- func (s Uint32Sorted) Msgsize() int
- func (s *Uint32Sorted) UnmarshalMsg(bytes []byte) ([]byte, error)
 
- type Uint64
- type Uint64Sorted
- func (s Uint64Sorted) AsSlice() []uint64
- func (s *Uint64Sorted) DecodeMsg(reader *msgp.Reader) error
- func (s Uint64Sorted) EncodeMsg(writer *msgp.Writer) error
- func (s Uint64Sorted) MarshalMsg(bytes []byte) ([]byte, error)
- func (s Uint64Sorted) Msgsize() int
- func (s *Uint64Sorted) UnmarshalMsg(bytes []byte) ([]byte, error)
 
- type Uint8
- type Uint8Sorted
- func (s Uint8Sorted) AsSlice() []uint8
- func (s *Uint8Sorted) DecodeMsg(reader *msgp.Reader) error
- func (s Uint8Sorted) EncodeMsg(writer *msgp.Writer) error
- func (s Uint8Sorted) MarshalMsg(bytes []byte) ([]byte, error)
- func (s Uint8Sorted) Msgsize() int
- func (s *Uint8Sorted) UnmarshalMsg(bytes []byte) ([]byte, error)
 
- type UintSorted
- func (s UintSorted) AsSlice() []uint
- func (s *UintSorted) DecodeMsg(reader *msgp.Reader) error
- func (s UintSorted) EncodeMsg(writer *msgp.Writer) error
- func (s UintSorted) MarshalMsg(bytes []byte) ([]byte, error)
- func (s UintSorted) Msgsize() int
- func (s *UintSorted) UnmarshalMsg(bytes []byte) ([]byte, error)
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Byte ¶
type Byte map[byte]struct{}
Byte is a set of bytes that will be stored as an array. Elements are not sorted and the order of elements is not guaranteed.
func ByteFromSlice ¶ added in v1.5.0
ByteFromSlice creates a Byte from a slice.
func (Byte) MarshalMsg ¶
MarshalMsg encodes the message to the bytes.
type ByteSorted ¶
type ByteSorted map[byte]struct{}
ByteSorted is a set of bytes that will be stored as an array. Elements are sorted and the order of elements is guaranteed.
func ByteSortedFromSlice ¶ added in v1.5.0
func ByteSortedFromSlice(s []byte) ByteSorted
ByteSortedFromSlice creates a ByteSorted from a slice.
func (ByteSorted) AsSlice ¶ added in v1.5.0
func (s ByteSorted) AsSlice() []byte
AsSlice returns the set as a sorted slice.
func (*ByteSorted) DecodeMsg ¶
func (s *ByteSorted) DecodeMsg(reader *msgp.Reader) error
DecodeMsg decodes the message from the reader.
func (ByteSorted) EncodeMsg ¶
func (s ByteSorted) EncodeMsg(writer *msgp.Writer) error
EncodeMsg encodes the message to the writer.
func (ByteSorted) MarshalMsg ¶
func (s ByteSorted) MarshalMsg(bytes []byte) ([]byte, error)
MarshalMsg encodes the message to the bytes.
func (ByteSorted) Msgsize ¶
func (s ByteSorted) Msgsize() int
Msgsize returns the maximum size of the message.
func (*ByteSorted) UnmarshalMsg ¶
func (s *ByteSorted) UnmarshalMsg(bytes []byte) ([]byte, error)
UnmarshalMsg decodes the message from the bytes.
type Float32 ¶
type Float32 map[float32]struct{}
Float32 is a set of float32s that will be stored as an array. Elements are not sorted and the order of elements is not guaranteed.
func Float32FromSlice ¶ added in v1.5.0
Float32FromSlice creates a Float32 from a slice.
func (Float32) MarshalMsg ¶
MarshalMsg encodes the message to the bytes.
type Float32Sorted ¶
type Float32Sorted map[float32]struct{}
Float32Sorted is a set of float32s that will be stored as an array. Elements are sorted and the order of elements is guaranteed.
func Float32SortedFromSlice ¶ added in v1.5.0
func Float32SortedFromSlice(s []float32) Float32Sorted
Float32SortedFromSlice creates a Float32Sorted from a slice.
func (Float32Sorted) AsSlice ¶ added in v1.5.0
func (s Float32Sorted) AsSlice() []float32
AsSlice returns the set as a sorted slice.
func (*Float32Sorted) DecodeMsg ¶
func (s *Float32Sorted) DecodeMsg(reader *msgp.Reader) error
DecodeMsg decodes the message from the reader.
func (Float32Sorted) EncodeMsg ¶
func (s Float32Sorted) EncodeMsg(writer *msgp.Writer) error
EncodeMsg encodes the message to the writer.
func (Float32Sorted) MarshalMsg ¶
func (s Float32Sorted) MarshalMsg(bytes []byte) ([]byte, error)
MarshalMsg encodes the message to the bytes.
func (Float32Sorted) Msgsize ¶
func (s Float32Sorted) Msgsize() int
Msgsize returns the maximum size of the message.
func (*Float32Sorted) UnmarshalMsg ¶
func (s *Float32Sorted) UnmarshalMsg(bytes []byte) ([]byte, error)
UnmarshalMsg decodes the message from the bytes.
type Float64 ¶
type Float64 map[float64]struct{}
Float64 is a set of float64s that will be stored as an array. Elements are not sorted and the order of elements is not guaranteed.
func Float64FromSlice ¶ added in v1.5.0
Float64FromSlice creates a Float64 from a slice.
func (Float64) MarshalMsg ¶
MarshalMsg encodes the message to the bytes.
type Float64Sorted ¶
type Float64Sorted map[float64]struct{}
Float64Sorted is a set of float64s that will be stored as an array. Elements are sorted and the order of elements is guaranteed.
func Float64SortedFromSlice ¶ added in v1.5.0
func Float64SortedFromSlice(s []float64) Float64Sorted
Float64SortedFromSlice creates a Float64Sorted from a slice.
func (Float64Sorted) AsSlice ¶ added in v1.5.0
func (s Float64Sorted) AsSlice() []float64
AsSlice returns the set as a sorted slice.
func (*Float64Sorted) DecodeMsg ¶
func (s *Float64Sorted) DecodeMsg(reader *msgp.Reader) error
DecodeMsg decodes the message from the reader.
func (Float64Sorted) EncodeMsg ¶
func (s Float64Sorted) EncodeMsg(writer *msgp.Writer) error
EncodeMsg encodes the message to the writer.
func (Float64Sorted) MarshalMsg ¶
func (s Float64Sorted) MarshalMsg(bytes []byte) ([]byte, error)
MarshalMsg encodes the message to the bytes.
func (Float64Sorted) Msgsize ¶
func (s Float64Sorted) Msgsize() int
Msgsize returns the maximum size of the message.
func (*Float64Sorted) UnmarshalMsg ¶
func (s *Float64Sorted) UnmarshalMsg(bytes []byte) ([]byte, error)
UnmarshalMsg decodes the message from the bytes.
type Int ¶
type Int map[int]struct{}
Int is a set of ints that will be stored as an array. Elements are not sorted and the order of elements is not guaranteed.
func IntFromSlice ¶ added in v1.5.0
IntFromSlice creates a Int from a slice.
func (Int) MarshalMsg ¶
MarshalMsg encodes the message to the bytes.
type Int16 ¶
type Int16 map[int16]struct{}
Int16 is a set of int16s that will be stored as an array. Elements are not sorted and the order of elements is not guaranteed.
func Int16FromSlice ¶ added in v1.5.0
Int16FromSlice creates a Int16 from a slice.
func (Int16) MarshalMsg ¶
MarshalMsg encodes the message to the bytes.
type Int16Sorted ¶
type Int16Sorted map[int16]struct{}
Int16Sorted is a set of int16s that will be stored as an array. Elements are sorted and the order of elements is guaranteed.
func Int16SortedFromSlice ¶ added in v1.5.0
func Int16SortedFromSlice(s []int16) Int16Sorted
Int16SortedFromSlice creates a Int16Sorted from a slice.
func (Int16Sorted) AsSlice ¶ added in v1.5.0
func (s Int16Sorted) AsSlice() []int16
AsSlice returns the set as a sorted slice.
func (*Int16Sorted) DecodeMsg ¶
func (s *Int16Sorted) DecodeMsg(reader *msgp.Reader) error
DecodeMsg decodes the message from the reader.
func (Int16Sorted) EncodeMsg ¶
func (s Int16Sorted) EncodeMsg(writer *msgp.Writer) error
EncodeMsg encodes the message to the writer.
func (Int16Sorted) MarshalMsg ¶
func (s Int16Sorted) MarshalMsg(bytes []byte) ([]byte, error)
MarshalMsg encodes the message to the bytes.
func (Int16Sorted) Msgsize ¶
func (s Int16Sorted) Msgsize() int
Msgsize returns the maximum size of the message.
func (*Int16Sorted) UnmarshalMsg ¶
func (s *Int16Sorted) UnmarshalMsg(bytes []byte) ([]byte, error)
UnmarshalMsg decodes the message from the bytes.
type Int32 ¶
type Int32 map[int32]struct{}
Int32 is a set of int32s that will be stored as an array. Elements are not sorted and the order of elements is not guaranteed.
func Int32FromSlice ¶ added in v1.5.0
Int32FromSlice creates a Int32 from a slice.
func (Int32) MarshalMsg ¶
MarshalMsg encodes the message to the bytes.
type Int32Sorted ¶
type Int32Sorted map[int32]struct{}
Int32Sorted is a set of int32s that will be stored as an array. Elements are sorted and the order of elements is guaranteed.
func Int32SortedFromSlice ¶ added in v1.5.0
func Int32SortedFromSlice(s []int32) Int32Sorted
Int32SortedFromSlice creates a Int32Sorted from a slice.
func (Int32Sorted) AsSlice ¶ added in v1.5.0
func (s Int32Sorted) AsSlice() []int32
AsSlice returns the set as a sorted slice.
func (*Int32Sorted) DecodeMsg ¶
func (s *Int32Sorted) DecodeMsg(reader *msgp.Reader) error
DecodeMsg decodes the message from the reader.
func (Int32Sorted) EncodeMsg ¶
func (s Int32Sorted) EncodeMsg(writer *msgp.Writer) error
EncodeMsg encodes the message to the writer.
func (Int32Sorted) MarshalMsg ¶
func (s Int32Sorted) MarshalMsg(bytes []byte) ([]byte, error)
MarshalMsg encodes the message to the bytes.
func (Int32Sorted) Msgsize ¶
func (s Int32Sorted) Msgsize() int
Msgsize returns the maximum size of the message.
func (*Int32Sorted) UnmarshalMsg ¶
func (s *Int32Sorted) UnmarshalMsg(bytes []byte) ([]byte, error)
UnmarshalMsg decodes the message from the bytes.
type Int64 ¶
type Int64 map[int64]struct{}
Int64 is a set of int64s that will be stored as an array. Elements are not sorted and the order of elements is not guaranteed.
func Int64FromSlice ¶ added in v1.5.0
Int64FromSlice creates a Int64 from a slice.
func (Int64) MarshalMsg ¶
MarshalMsg encodes the message to the bytes.
type Int64Sorted ¶
type Int64Sorted map[int64]struct{}
Int64Sorted is a set of int64s that will be stored as an array. Elements are sorted and the order of elements is guaranteed.
func Int64SortedFromSlice ¶ added in v1.5.0
func Int64SortedFromSlice(s []int64) Int64Sorted
Int64SortedFromSlice creates a Int64Sorted from a slice.
func (Int64Sorted) AsSlice ¶ added in v1.5.0
func (s Int64Sorted) AsSlice() []int64
AsSlice returns the set as a sorted slice.
func (*Int64Sorted) DecodeMsg ¶
func (s *Int64Sorted) DecodeMsg(reader *msgp.Reader) error
DecodeMsg decodes the message from the reader.
func (Int64Sorted) EncodeMsg ¶
func (s Int64Sorted) EncodeMsg(writer *msgp.Writer) error
EncodeMsg encodes the message to the writer.
func (Int64Sorted) MarshalMsg ¶
func (s Int64Sorted) MarshalMsg(bytes []byte) ([]byte, error)
MarshalMsg encodes the message to the bytes.
func (Int64Sorted) Msgsize ¶
func (s Int64Sorted) Msgsize() int
Msgsize returns the maximum size of the message.
func (*Int64Sorted) UnmarshalMsg ¶
func (s *Int64Sorted) UnmarshalMsg(bytes []byte) ([]byte, error)
UnmarshalMsg decodes the message from the bytes.
type Int8 ¶
type Int8 map[int8]struct{}
Int8 is a set of int8s that will be stored as an array. Elements are not sorted and the order of elements is not guaranteed.
func Int8FromSlice ¶ added in v1.5.0
Int8FromSlice creates a Int8 from a slice.
func (Int8) MarshalMsg ¶
MarshalMsg encodes the message to the bytes.
type Int8Sorted ¶
type Int8Sorted map[int8]struct{}
Int8Sorted is a set of int8s that will be stored as an array. Elements are sorted and the order of elements is guaranteed.
func Int8SortedFromSlice ¶ added in v1.5.0
func Int8SortedFromSlice(s []int8) Int8Sorted
Int8SortedFromSlice creates a Int8Sorted from a slice.
func (Int8Sorted) AsSlice ¶ added in v1.5.0
func (s Int8Sorted) AsSlice() []int8
AsSlice returns the set as a sorted slice.
func (*Int8Sorted) DecodeMsg ¶
func (s *Int8Sorted) DecodeMsg(reader *msgp.Reader) error
DecodeMsg decodes the message from the reader.
func (Int8Sorted) EncodeMsg ¶
func (s Int8Sorted) EncodeMsg(writer *msgp.Writer) error
EncodeMsg encodes the message to the writer.
func (Int8Sorted) MarshalMsg ¶
func (s Int8Sorted) MarshalMsg(bytes []byte) ([]byte, error)
MarshalMsg encodes the message to the bytes.
func (Int8Sorted) Msgsize ¶
func (s Int8Sorted) Msgsize() int
Msgsize returns the maximum size of the message.
func (*Int8Sorted) UnmarshalMsg ¶
func (s *Int8Sorted) UnmarshalMsg(bytes []byte) ([]byte, error)
UnmarshalMsg decodes the message from the bytes.
type IntSorted ¶
type IntSorted map[int]struct{}
IntSorted is a set of ints that will be stored as an array. Elements are sorted and the order of elements is guaranteed.
func IntSortedFromSlice ¶ added in v1.5.0
IntSortedFromSlice creates a IntSorted from a slice.
func (IntSorted) MarshalMsg ¶
MarshalMsg encodes the message to the bytes.
type String ¶
type String map[string]struct{}
String is a set of strings that will be stored as an array. Elements are not sorted and the order of elements is not guaranteed.
func StringFromSlice ¶ added in v1.5.0
StringFromSlice creates a String from a slice.
func (String) MarshalMsg ¶
MarshalMsg encodes the message to the bytes.
type StringSorted ¶
type StringSorted map[string]struct{}
StringSorted is a set of strings that will be stored as an array. Elements are sorted and the order of elements is guaranteed.
func StringSortedFromSlice ¶ added in v1.5.0
func StringSortedFromSlice(s []string) StringSorted
StringSortedFromSlice creates a StringSorted from a slice.
func (StringSorted) AsSlice ¶ added in v1.5.0
func (s StringSorted) AsSlice() []string
AsSlice returns the set as a sorted slice.
func (*StringSorted) DecodeMsg ¶
func (s *StringSorted) DecodeMsg(reader *msgp.Reader) error
DecodeMsg decodes the message from the reader.
func (StringSorted) EncodeMsg ¶
func (s StringSorted) EncodeMsg(writer *msgp.Writer) error
EncodeMsg encodes the message to the writer.
func (StringSorted) MarshalMsg ¶
func (s StringSorted) MarshalMsg(bytes []byte) ([]byte, error)
MarshalMsg encodes the message to the bytes.
func (StringSorted) Msgsize ¶
func (s StringSorted) Msgsize() int
Msgsize returns the maximum size of the message.
func (*StringSorted) UnmarshalMsg ¶
func (s *StringSorted) UnmarshalMsg(bytes []byte) ([]byte, error)
UnmarshalMsg decodes the message from the bytes.
type Uint ¶
type Uint map[uint]struct{}
Uint is a set of uints that will be stored as an array. Elements are not sorted and the order of elements is not guaranteed.
func UintFromSlice ¶ added in v1.5.0
UintFromSlice creates a Uint from a slice.
func (Uint) MarshalMsg ¶
MarshalMsg encodes the message to the bytes.
type Uint16 ¶
type Uint16 map[uint16]struct{}
Uint16 is a set of uint16s that will be stored as an array. Elements are not sorted and the order of elements is not guaranteed.
func Uint16FromSlice ¶ added in v1.5.0
Uint16FromSlice creates a Uint16 from a slice.
func (Uint16) MarshalMsg ¶
MarshalMsg encodes the message to the bytes.
type Uint16Sorted ¶
type Uint16Sorted map[uint16]struct{}
Uint16Sorted is a set of uint16s that will be stored as an array. Elements are sorted and the order of elements is guaranteed.
func Uint16SortedFromSlice ¶ added in v1.5.0
func Uint16SortedFromSlice(s []uint16) Uint16Sorted
Uint16SortedFromSlice creates a Uint16Sorted from a slice.
func (Uint16Sorted) AsSlice ¶ added in v1.5.0
func (s Uint16Sorted) AsSlice() []uint16
AsSlice returns the set as a sorted slice.
func (*Uint16Sorted) DecodeMsg ¶
func (s *Uint16Sorted) DecodeMsg(reader *msgp.Reader) error
DecodeMsg decodes the message from the reader.
func (Uint16Sorted) EncodeMsg ¶
func (s Uint16Sorted) EncodeMsg(writer *msgp.Writer) error
EncodeMsg encodes the message to the writer.
func (Uint16Sorted) MarshalMsg ¶
func (s Uint16Sorted) MarshalMsg(bytes []byte) ([]byte, error)
MarshalMsg encodes the message to the bytes.
func (Uint16Sorted) Msgsize ¶
func (s Uint16Sorted) Msgsize() int
Msgsize returns the maximum size of the message.
func (*Uint16Sorted) UnmarshalMsg ¶
func (s *Uint16Sorted) UnmarshalMsg(bytes []byte) ([]byte, error)
UnmarshalMsg decodes the message from the bytes.
type Uint32 ¶
type Uint32 map[uint32]struct{}
Uint32 is a set of uint32s that will be stored as an array. Elements are not sorted and the order of elements is not guaranteed.
func Uint32FromSlice ¶ added in v1.5.0
Uint32FromSlice creates a Uint32 from a slice.
func (Uint32) MarshalMsg ¶
MarshalMsg encodes the message to the bytes.
type Uint32Sorted ¶
type Uint32Sorted map[uint32]struct{}
Uint32Sorted is a set of uint32s that will be stored as an array. Elements are sorted and the order of elements is guaranteed.
func Uint32SortedFromSlice ¶ added in v1.5.0
func Uint32SortedFromSlice(s []uint32) Uint32Sorted
Uint32SortedFromSlice creates a Uint32Sorted from a slice.
func (Uint32Sorted) AsSlice ¶ added in v1.5.0
func (s Uint32Sorted) AsSlice() []uint32
AsSlice returns the set as a sorted slice.
func (*Uint32Sorted) DecodeMsg ¶
func (s *Uint32Sorted) DecodeMsg(reader *msgp.Reader) error
DecodeMsg decodes the message from the reader.
func (Uint32Sorted) EncodeMsg ¶
func (s Uint32Sorted) EncodeMsg(writer *msgp.Writer) error
EncodeMsg encodes the message to the writer.
func (Uint32Sorted) MarshalMsg ¶
func (s Uint32Sorted) MarshalMsg(bytes []byte) ([]byte, error)
MarshalMsg encodes the message to the bytes.
func (Uint32Sorted) Msgsize ¶
func (s Uint32Sorted) Msgsize() int
Msgsize returns the maximum size of the message.
func (*Uint32Sorted) UnmarshalMsg ¶
func (s *Uint32Sorted) UnmarshalMsg(bytes []byte) ([]byte, error)
UnmarshalMsg decodes the message from the bytes.
type Uint64 ¶
type Uint64 map[uint64]struct{}
Uint64 is a set of uint64s that will be stored as an array. Elements are not sorted and the order of elements is not guaranteed.
func Uint64FromSlice ¶ added in v1.5.0
Uint64FromSlice creates a Uint64 from a slice.
func (Uint64) MarshalMsg ¶
MarshalMsg encodes the message to the bytes.
type Uint64Sorted ¶
type Uint64Sorted map[uint64]struct{}
Uint64Sorted is a set of uint64s that will be stored as an array. Elements are sorted and the order of elements is guaranteed.
func Uint64SortedFromSlice ¶ added in v1.5.0
func Uint64SortedFromSlice(s []uint64) Uint64Sorted
Uint64SortedFromSlice creates a Uint64Sorted from a slice.
func (Uint64Sorted) AsSlice ¶ added in v1.5.0
func (s Uint64Sorted) AsSlice() []uint64
AsSlice returns the set as a sorted slice.
func (*Uint64Sorted) DecodeMsg ¶
func (s *Uint64Sorted) DecodeMsg(reader *msgp.Reader) error
DecodeMsg decodes the message from the reader.
func (Uint64Sorted) EncodeMsg ¶
func (s Uint64Sorted) EncodeMsg(writer *msgp.Writer) error
EncodeMsg encodes the message to the writer.
func (Uint64Sorted) MarshalMsg ¶
func (s Uint64Sorted) MarshalMsg(bytes []byte) ([]byte, error)
MarshalMsg encodes the message to the bytes.
func (Uint64Sorted) Msgsize ¶
func (s Uint64Sorted) Msgsize() int
Msgsize returns the maximum size of the message.
func (*Uint64Sorted) UnmarshalMsg ¶
func (s *Uint64Sorted) UnmarshalMsg(bytes []byte) ([]byte, error)
UnmarshalMsg decodes the message from the bytes.
type Uint8 ¶
type Uint8 map[uint8]struct{}
Uint8 is a set of uint8s that will be stored as an array. Elements are not sorted and the order of elements is not guaranteed.
func Uint8FromSlice ¶ added in v1.5.0
Uint8FromSlice creates a Uint8 from a slice.
func (Uint8) MarshalMsg ¶
MarshalMsg encodes the message to the bytes.
type Uint8Sorted ¶
type Uint8Sorted map[uint8]struct{}
Uint8Sorted is a set of uint8s that will be stored as an array. Elements are sorted and the order of elements is guaranteed.
func Uint8SortedFromSlice ¶ added in v1.5.0
func Uint8SortedFromSlice(s []uint8) Uint8Sorted
Uint8SortedFromSlice creates a Uint8Sorted from a slice.
func (Uint8Sorted) AsSlice ¶ added in v1.5.0
func (s Uint8Sorted) AsSlice() []uint8
AsSlice returns the set as a sorted slice.
func (*Uint8Sorted) DecodeMsg ¶
func (s *Uint8Sorted) DecodeMsg(reader *msgp.Reader) error
DecodeMsg decodes the message from the reader.
func (Uint8Sorted) EncodeMsg ¶
func (s Uint8Sorted) EncodeMsg(writer *msgp.Writer) error
EncodeMsg encodes the message to the writer.
func (Uint8Sorted) MarshalMsg ¶
func (s Uint8Sorted) MarshalMsg(bytes []byte) ([]byte, error)
MarshalMsg encodes the message to the bytes.
func (Uint8Sorted) Msgsize ¶
func (s Uint8Sorted) Msgsize() int
Msgsize returns the maximum size of the message.
func (*Uint8Sorted) UnmarshalMsg ¶
func (s *Uint8Sorted) UnmarshalMsg(bytes []byte) ([]byte, error)
UnmarshalMsg decodes the message from the bytes.
type UintSorted ¶
type UintSorted map[uint]struct{}
UintSorted is a set of uints that will be stored as an array. Elements are sorted and the order of elements is guaranteed.
func UintSortedFromSlice ¶ added in v1.5.0
func UintSortedFromSlice(s []uint) UintSorted
UintSortedFromSlice creates a UintSorted from a slice.
func (UintSorted) AsSlice ¶ added in v1.5.0
func (s UintSorted) AsSlice() []uint
AsSlice returns the set as a sorted slice.
func (*UintSorted) DecodeMsg ¶
func (s *UintSorted) DecodeMsg(reader *msgp.Reader) error
DecodeMsg decodes the message from the reader.
func (UintSorted) EncodeMsg ¶
func (s UintSorted) EncodeMsg(writer *msgp.Writer) error
EncodeMsg encodes the message to the writer.
func (UintSorted) MarshalMsg ¶
func (s UintSorted) MarshalMsg(bytes []byte) ([]byte, error)
MarshalMsg encodes the message to the bytes.
func (UintSorted) Msgsize ¶
func (s UintSorted) Msgsize() int
Msgsize returns the maximum size of the message.
func (*UintSorted) UnmarshalMsg ¶
func (s *UintSorted) UnmarshalMsg(bytes []byte) ([]byte, error)
UnmarshalMsg decodes the message from the bytes.