encodernocache

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AVROX_ENCODER = "avrox"
)

Variables

View Source
var (
	ErrInvalidAvroXMsgEncode = errors.New("nats: Invalid avrox object passed to encode")
	ErrInvalidAvroXMsgDecode = errors.New("nats: Invalid avrox object passed to decode")
)

Functions

This section is empty.

Types

type AvroXEncoder

type AvroXEncoder struct {
	Compression avrox.CompressionID
}

AvroXEncoder is a AvroX implementation for EncodedConn We use an alternative cache to the default one though

func (*AvroXEncoder) Decode

func (pb *AvroXEncoder) Decode(_ string, data []byte, vPtr interface{}) error

Decode

func (*AvroXEncoder) Encode

func (pb *AvroXEncoder) Encode(_ string, v interface{}) ([]byte, error)

Encode

Jump to

Keyboard shortcuts

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