generic

package
v8.0.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Codec

type Codec struct {
	// contains filtered or unexported fields
}

func NewCodec

func NewCodec(writer, reader schema.AvroType) (*Codec, error)

func NewCodecFromSchema

func NewCodecFromSchema(writer, reader []byte) (*Codec, error)

func (*Codec) Deserialize

func (c *Codec) Deserialize(r io.Reader) (interface{}, error)

type Datum

type Datum interface {
	types.Field
	Datum() interface{}
}

func DatumForType

func DatumForType(t schema.AvroType) Datum

Jump to

Keyboard shortcuts

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