setof

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

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 (*Byte) DecodeMsg

func (s *Byte) DecodeMsg(reader *msgp.Reader) error

DecodeMsg decodes the message from the reader.

func (Byte) EncodeMsg

func (s Byte) EncodeMsg(writer *msgp.Writer) error

EncodeMsg encodes the message to the writer.

func (Byte) MarshalMsg

func (s Byte) MarshalMsg(bytes []byte) ([]byte, error)

MarshalMsg encodes the message to the bytes.

func (Byte) Msgsize

func (s Byte) Msgsize() int

Msgsize returns the maximum size of the message.

func (*Byte) UnmarshalMsg

func (s *Byte) UnmarshalMsg(bytes []byte) ([]byte, error)

UnmarshalMsg decodes the message from 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 (*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 (*Float32) DecodeMsg

func (s *Float32) DecodeMsg(reader *msgp.Reader) error

DecodeMsg decodes the message from the reader.

func (Float32) EncodeMsg

func (s Float32) EncodeMsg(writer *msgp.Writer) error

EncodeMsg encodes the message to the writer.

func (Float32) MarshalMsg

func (s Float32) MarshalMsg(bytes []byte) ([]byte, error)

MarshalMsg encodes the message to the bytes.

func (Float32) Msgsize

func (s Float32) Msgsize() int

Msgsize returns the maximum size of the message.

func (*Float32) UnmarshalMsg

func (s *Float32) UnmarshalMsg(bytes []byte) ([]byte, error)

UnmarshalMsg decodes the message from 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 (*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 (*Float64) DecodeMsg

func (s *Float64) DecodeMsg(reader *msgp.Reader) error

DecodeMsg decodes the message from the reader.

func (Float64) EncodeMsg

func (s Float64) EncodeMsg(writer *msgp.Writer) error

EncodeMsg encodes the message to the writer.

func (Float64) MarshalMsg

func (s Float64) MarshalMsg(bytes []byte) ([]byte, error)

MarshalMsg encodes the message to the bytes.

func (Float64) Msgsize

func (s Float64) Msgsize() int

Msgsize returns the maximum size of the message.

func (*Float64) UnmarshalMsg

func (s *Float64) UnmarshalMsg(bytes []byte) ([]byte, error)

UnmarshalMsg decodes the message from 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 (*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 (*Int) DecodeMsg

func (s *Int) DecodeMsg(reader *msgp.Reader) error

DecodeMsg decodes the message from the reader.

func (Int) EncodeMsg

func (s Int) EncodeMsg(writer *msgp.Writer) error

EncodeMsg encodes the message to the writer.

func (Int) MarshalMsg

func (s Int) MarshalMsg(bytes []byte) ([]byte, error)

MarshalMsg encodes the message to the bytes.

func (Int) Msgsize

func (s Int) Msgsize() int

Msgsize returns the maximum size of the message.

func (*Int) UnmarshalMsg

func (s *Int) UnmarshalMsg(bytes []byte) ([]byte, error)

UnmarshalMsg decodes the message from 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 (*Int16) DecodeMsg

func (s *Int16) DecodeMsg(reader *msgp.Reader) error

DecodeMsg decodes the message from the reader.

func (Int16) EncodeMsg

func (s Int16) EncodeMsg(writer *msgp.Writer) error

EncodeMsg encodes the message to the writer.

func (Int16) MarshalMsg

func (s Int16) MarshalMsg(bytes []byte) ([]byte, error)

MarshalMsg encodes the message to the bytes.

func (Int16) Msgsize

func (s Int16) Msgsize() int

Msgsize returns the maximum size of the message.

func (*Int16) UnmarshalMsg

func (s *Int16) UnmarshalMsg(bytes []byte) ([]byte, error)

UnmarshalMsg decodes the message from 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 (*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 (*Int32) DecodeMsg

func (s *Int32) DecodeMsg(reader *msgp.Reader) error

DecodeMsg decodes the message from the reader.

func (Int32) EncodeMsg

func (s Int32) EncodeMsg(writer *msgp.Writer) error

EncodeMsg encodes the message to the writer.

func (Int32) MarshalMsg

func (s Int32) MarshalMsg(bytes []byte) ([]byte, error)

MarshalMsg encodes the message to the bytes.

func (Int32) Msgsize

func (s Int32) Msgsize() int

Msgsize returns the maximum size of the message.

func (*Int32) UnmarshalMsg

func (s *Int32) UnmarshalMsg(bytes []byte) ([]byte, error)

UnmarshalMsg decodes the message from 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 (*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 (*Int64) DecodeMsg

func (s *Int64) DecodeMsg(reader *msgp.Reader) error

DecodeMsg decodes the message from the reader.

func (Int64) EncodeMsg

func (s Int64) EncodeMsg(writer *msgp.Writer) error

EncodeMsg encodes the message to the writer.

func (Int64) MarshalMsg

func (s Int64) MarshalMsg(bytes []byte) ([]byte, error)

MarshalMsg encodes the message to the bytes.

func (Int64) Msgsize

func (s Int64) Msgsize() int

Msgsize returns the maximum size of the message.

func (*Int64) UnmarshalMsg

func (s *Int64) UnmarshalMsg(bytes []byte) ([]byte, error)

UnmarshalMsg decodes the message from 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 (*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 (*Int8) DecodeMsg

func (s *Int8) DecodeMsg(reader *msgp.Reader) error

DecodeMsg decodes the message from the reader.

func (Int8) EncodeMsg

func (s Int8) EncodeMsg(writer *msgp.Writer) error

EncodeMsg encodes the message to the writer.

func (Int8) MarshalMsg

func (s Int8) MarshalMsg(bytes []byte) ([]byte, error)

MarshalMsg encodes the message to the bytes.

func (Int8) Msgsize

func (s Int8) Msgsize() int

Msgsize returns the maximum size of the message.

func (*Int8) UnmarshalMsg

func (s *Int8) UnmarshalMsg(bytes []byte) ([]byte, error)

UnmarshalMsg decodes the message from 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 (*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 (*IntSorted) DecodeMsg

func (s *IntSorted) DecodeMsg(reader *msgp.Reader) error

DecodeMsg decodes the message from the reader.

func (IntSorted) EncodeMsg

func (s IntSorted) EncodeMsg(writer *msgp.Writer) error

EncodeMsg encodes the message to the writer.

func (IntSorted) MarshalMsg

func (s IntSorted) MarshalMsg(bytes []byte) ([]byte, error)

MarshalMsg encodes the message to the bytes.

func (IntSorted) Msgsize

func (s IntSorted) Msgsize() int

Msgsize returns the maximum size of the message.

func (*IntSorted) UnmarshalMsg

func (s *IntSorted) UnmarshalMsg(bytes []byte) ([]byte, error)

UnmarshalMsg decodes the message from 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 (*String) DecodeMsg

func (s *String) DecodeMsg(reader *msgp.Reader) error

DecodeMsg decodes the message from the reader.

func (String) EncodeMsg

func (s String) EncodeMsg(writer *msgp.Writer) error

EncodeMsg encodes the message to the writer.

func (String) MarshalMsg

func (s String) MarshalMsg(bytes []byte) ([]byte, error)

MarshalMsg encodes the message to the bytes.

func (String) Msgsize

func (s String) Msgsize() int

Msgsize returns the maximum size of the message.

func (*String) UnmarshalMsg

func (s *String) UnmarshalMsg(bytes []byte) ([]byte, error)

UnmarshalMsg decodes the message from 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 (*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 (*Uint) DecodeMsg

func (s *Uint) DecodeMsg(reader *msgp.Reader) error

DecodeMsg decodes the message from the reader.

func (Uint) EncodeMsg

func (s Uint) EncodeMsg(writer *msgp.Writer) error

EncodeMsg encodes the message to the writer.

func (Uint) MarshalMsg

func (s Uint) MarshalMsg(bytes []byte) ([]byte, error)

MarshalMsg encodes the message to the bytes.

func (Uint) Msgsize

func (s Uint) Msgsize() int

Msgsize returns the maximum size of the message.

func (*Uint) UnmarshalMsg

func (s *Uint) UnmarshalMsg(bytes []byte) ([]byte, error)

UnmarshalMsg decodes the message from 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 (*Uint16) DecodeMsg

func (s *Uint16) DecodeMsg(reader *msgp.Reader) error

DecodeMsg decodes the message from the reader.

func (Uint16) EncodeMsg

func (s Uint16) EncodeMsg(writer *msgp.Writer) error

EncodeMsg encodes the message to the writer.

func (Uint16) MarshalMsg

func (s Uint16) MarshalMsg(bytes []byte) ([]byte, error)

MarshalMsg encodes the message to the bytes.

func (Uint16) Msgsize

func (s Uint16) Msgsize() int

Msgsize returns the maximum size of the message.

func (*Uint16) UnmarshalMsg

func (s *Uint16) UnmarshalMsg(bytes []byte) ([]byte, error)

UnmarshalMsg decodes the message from 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 (*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 (*Uint32) DecodeMsg

func (s *Uint32) DecodeMsg(reader *msgp.Reader) error

DecodeMsg decodes the message from the reader.

func (Uint32) EncodeMsg

func (s Uint32) EncodeMsg(writer *msgp.Writer) error

EncodeMsg encodes the message to the writer.

func (Uint32) MarshalMsg

func (s Uint32) MarshalMsg(bytes []byte) ([]byte, error)

MarshalMsg encodes the message to the bytes.

func (Uint32) Msgsize

func (s Uint32) Msgsize() int

Msgsize returns the maximum size of the message.

func (*Uint32) UnmarshalMsg

func (s *Uint32) UnmarshalMsg(bytes []byte) ([]byte, error)

UnmarshalMsg decodes the message from 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 (*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 (*Uint64) DecodeMsg

func (s *Uint64) DecodeMsg(reader *msgp.Reader) error

DecodeMsg decodes the message from the reader.

func (Uint64) EncodeMsg

func (s Uint64) EncodeMsg(writer *msgp.Writer) error

EncodeMsg encodes the message to the writer.

func (Uint64) MarshalMsg

func (s Uint64) MarshalMsg(bytes []byte) ([]byte, error)

MarshalMsg encodes the message to the bytes.

func (Uint64) Msgsize

func (s Uint64) Msgsize() int

Msgsize returns the maximum size of the message.

func (*Uint64) UnmarshalMsg

func (s *Uint64) UnmarshalMsg(bytes []byte) ([]byte, error)

UnmarshalMsg decodes the message from 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 (*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 (*Uint8) DecodeMsg

func (s *Uint8) DecodeMsg(reader *msgp.Reader) error

DecodeMsg decodes the message from the reader.

func (Uint8) EncodeMsg

func (s Uint8) EncodeMsg(writer *msgp.Writer) error

EncodeMsg encodes the message to the writer.

func (Uint8) MarshalMsg

func (s Uint8) MarshalMsg(bytes []byte) ([]byte, error)

MarshalMsg encodes the message to the bytes.

func (Uint8) Msgsize

func (s Uint8) Msgsize() int

Msgsize returns the maximum size of the message.

func (*Uint8) UnmarshalMsg

func (s *Uint8) UnmarshalMsg(bytes []byte) ([]byte, error)

UnmarshalMsg decodes the message from 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 (*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 (*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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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