gob

package
v1.0.0-beta.14 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Codec

type Codec[T any] struct {
}

func New

func New[T any]() *Codec[T]

func (*Codec[T]) Decode

func (c *Codec[T]) Decode(b []byte, data *T) (err error)

func (*Codec[T]) Encode

func (c *Codec[T]) Encode(e T) (b []byte, err error)

Jump to

Keyboard shortcuts

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