dump

package
v3.4.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2014 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const MAGIC = "#dump002" // identifies dump format

Variables

This section is empty.

Functions

func MustReadFile

func MustReadFile(fname string) (*data.Slice, data.Meta)

func MustWriteFile

func MustWriteFile(fname string, s *data.Slice, info data.Meta)

Write the slice to file in binary format, panic on error.

func Read

func Read(in io.Reader) (*data.Slice, data.Meta, error)

func ReadFile

func ReadFile(fname string) (*data.Slice, data.Meta, error)

func Write

func Write(out io.Writer, s *data.Slice, info data.Meta) error

Write the slice to out in binary format. Add time stamp.

func WriteFile

func WriteFile(fname string, s *data.Slice, info data.Meta) error

Write the slice to file in binary format. Add time stamp.

Types

This section is empty.

Jump to

Keyboard shortcuts

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