zngbytes

package
v0.31.0 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2021 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Deserializer

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

func NewDeserializer

func NewDeserializer(reader io.Reader, templates []interface{}) *Deserializer

func NewDeserializerWithContext

func NewDeserializerWithContext(zctx *zed.Context, reader io.Reader, templates []interface{}) *Deserializer

func (*Deserializer) Read

func (d *Deserializer) Read() (interface{}, error)

type Serializer

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

func NewSerializer

func NewSerializer() *Serializer

func (*Serializer) Bytes

func (s *Serializer) Bytes() []byte

func (*Serializer) Close

func (s *Serializer) Close() error

func (*Serializer) Decorate

func (s *Serializer) Decorate(style zson.TypeStyle)

func (*Serializer) Write

func (s *Serializer) Write(v interface{}) error

Jump to

Keyboard shortcuts

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