zbytes

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Set

type Set struct {
	// contains filtered or unexported fields
}

func New

func New(items ...byte) (s *Set)

func (*Set) Add

func (s *Set) Add(items ...byte)

func (*Set) Clear

func (s *Set) Clear()

func (*Set) Clone

func (s *Set) Clone() *Set

func (*Set) Complement

func (s *Set) Complement(others ...Set)

func (Set) Contains

func (s Set) Contains(item byte) bool

func (Set) ContainsAll

func (s Set) ContainsAll(items ...byte) bool

func (Set) ContainsAny

func (s Set) ContainsAny(items ...byte) bool

func (*Set) Delete

func (s *Set) Delete(items ...byte)

func (*Set) Intersection added in v0.10.0

func (s *Set) Intersection(others ...Set) *Set

func (*Set) Items

func (s *Set) Items() (res []byte)

func (*Set) Size

func (s *Set) Size() int

func (*Set) Union

func (s *Set) Union(others ...Set)

Jump to

Keyboard shortcuts

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