hep: go-hep.org/x/hep/hbook/yodacnv Index | Files

package yodacnv

import "go-hep.org/x/hep/hbook/yodacnv"

Package yodacnv provides tools to read/write YODA archive files.

Index

Package Files

yoda.go

func Read Uses

func Read(r io.Reader) ([]hbook.Object, error)

Read reads a YODA stream and converts the YODA values into their go-hep/hbook equivalents.

func Write Uses

func Write(w io.Writer, args ...Marshaler) error

Write writes values to a YODA stream.

type Marshaler Uses

type Marshaler interface {
    MarshalYODA() ([]byte, error)
}

Marshaler is the interface implemented by an object that can marshal itself into a YODA form.

type Unmarshaler Uses

type Unmarshaler interface {
    UnmarshalYODA([]byte) error
}

Unmarshaler is the interface implemented by an object that can unmarshal a YODA representation of itself.

Package yodacnv imports 7 packages (graph) and is imported by 6 packages. Updated 2018-08-02. Refresh now. Tools for package owners.