simple

package
v0.0.0-...-0792c9a Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IndexConfigNew

func IndexConfigNew(
	arr2any util.IO[uint32],
	setany util.IO[uint32],
) util.IO[IndexConfig]

Types

type App

func (App) Flatten

func (a App) Flatten(ctx context.Context) iter.Seq[cf.CborArray]

func (App) FlattenAll

func (a App) FlattenAll(ctx context.Context) error

func (App) ToAnyToSerInputBuf

func (a App) ToAnyToSerInputBuf() fl.AnyToSerInputBuf

func (App) ToCborArrToFlatIter

func (a App) ToCborArrToFlatIter() fl.CborArrToFlatIter

func (App) ToCborArrayToFlatIter

func (a App) ToCborArrayToFlatIter() fl.CborArrayToFlatIter

func (App) ToSerToArrayOut

func (a App) ToSerToArrayOut() fl.SerToArrayOut

type CborInOut

type CborInOut struct {
	cf.CborInputs
	cf.CborOutput
}

type CborSerdeConfig

type CborSerdeConfig struct {
	ca.AnyToCborToBuf
	cc.CborBytesToArray
}

type IndexConfig

type IndexConfig struct {
	ArrayToAnyIndex uint32
	SetAnyIndex     uint32
}

func (IndexConfig) ToArrToAny

func (i IndexConfig) ToArrToAny() fl.ArrToAny

func (IndexConfig) ToSetAny

func (i IndexConfig) ToSetAny() fl.SetAny

type SimpleConfig

type SimpleConfig struct {
	CborSerdeConfig
	IndexConfig
	CborInOut
	WasmConfig
}

func (SimpleConfig) ToApp

func (c SimpleConfig) ToApp() App

type WasmConfig

type WasmConfig bw.BytesToWasmToBytes

Jump to

Keyboard shortcuts

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