frames

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Frames = &charm.Spec{
	Name:  "frames",
	Usage: "frames file",
	Short: "read ZNG file and output metadata",
	Long: `
The frames command takes one file arugmnet which must be a ZNG file,
parses each low-level ZNG frame in the file, and outputs meta describing each frame
in any Zed format.`,
	New: New,
}

Functions

func New

func New(parent charm.Command, f *flag.FlagSet) (charm.Command, error)

Types

type Command

type Command struct {
	*dig.Command
	// contains filtered or unexported fields
}

func (*Command) Run

func (c *Command) Run(args []string) error

type CompressedBlock

type CompressedBlock struct {
	Type   string `zed:"type"`
	Length int64  `zed:"length"`
	Format int8   `zed:"format"`
	Size   int64  `zed:"size"`
}

type EOS

type EOS struct {
	Type   string `zed:"type"`
	Offset int64  `zed:"offset"`
}

type Frame

type Frame struct {
	Type   string      `zed:"type"`
	Offset int64       `zed:"offset"`
	Block  interface{} `zed:"block"`
}

type UncompressedBlock

type UncompressedBlock struct {
	Type   string `zed:"type"`
	Length int64  `zed:"length"`
}

Jump to

Keyboard shortcuts

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