testutils

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestTypeCodec

type TestTypeCodec struct {
	Value any
	Bytes []byte
	Err   error
}

func (*TestTypeCodec) Decode

func (t *TestTypeCodec) Decode(encoded []byte) (any, []byte, error)

func (*TestTypeCodec) Encode

func (t *TestTypeCodec) Encode(_ any, into []byte) ([]byte, error)

func (*TestTypeCodec) FixedSize

func (t *TestTypeCodec) FixedSize() (int, error)

func (*TestTypeCodec) GetType

func (t *TestTypeCodec) GetType() reflect.Type

func (*TestTypeCodec) Size

func (t *TestTypeCodec) Size(size int) (int, error)

Jump to

Keyboard shortcuts

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