arr2cbor

package
v1.5.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArrayToCbor

type ArrayToCbor func(context.Context, []any) error

func (ArrayToCbor) OutputAll

func (a ArrayToCbor) OutputAll(ctx context.Context, i iter.Seq[[]any]) error

func (ArrayToCbor) ToCborToMapd

func (a ArrayToCbor) ToCborToMapd(c2a ci.CborToArrays) cc.CborToMapd

type StreamWriter

type StreamWriter struct {
	StartArray func(context.Context) error
	EndArray   func(context.Context) error
	AddElement func(context.Context, any) error
}

func (StreamWriter) ToArrayToCbor

func (s StreamWriter) ToArrayToCbor(
	cmap cnv.ConvMap,
	alt cnv.Converter,
) ArrayToCbor

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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