codec

package
v0.0.0-...-06b3c44 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2023 License: MIT Imports: 3 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CBORCodec

type CBORCodec struct{}

CBORCodec provides a codec API for a CBOR encoder and decoder.

func (CBORCodec) Decoder

func (c CBORCodec) Decoder(r io.Reader) codec.Decoder

Decoder returns a CBOR decoder

func (CBORCodec) Encoder

func (c CBORCodec) Encoder(w io.Writer) codec.Encoder

Encoder returns a CBOR encoder

Jump to

Keyboard shortcuts

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