collections_coding

package
v0.0.0-...-381c4e2 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EncoderToWriter

func EncoderToWriter[T any](el EncoderLike[T]) schnittstellen.FuncIter[*T]

Types

type EncoderJson

type EncoderJson[T any] struct {
	// contains filtered or unexported fields
}

func MakeEncoderJson

func MakeEncoderJson[T any](out io.Writer) EncoderJson[T]

func (EncoderJson[T]) Encode

func (e EncoderJson[T]) Encode(o *T) (n int64, err error)

type EncoderLike

type EncoderLike[T any] interface {
	Encode(*T) (int64, error)
}

Jump to

Keyboard shortcuts

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