multiset

package
v0.40.1 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.package multiset

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MultiSet

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

func FromBytes

func FromBytes(multisetBytes []byte) (*MultiSet, error)

FromBytes deserializes the given bytes slice and returns a multiset.

func New

func New() *MultiSet

New returns a new model.Multiset

func (MultiSet) Add

func (m MultiSet) Add(data []byte)

func (MultiSet) Clone

func (m MultiSet) Clone() *MultiSet

func (MultiSet) Hash

func (m MultiSet) Hash() common.Hash

func (MultiSet) Remove

func (m MultiSet) Remove(data []byte)

func (MultiSet) Serialize

func (m MultiSet) Serialize() []byte

Jump to

Keyboard shortcuts

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