dump

package
v3.9.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2015 License: CC-BY-3.0, Freetype, GPL-3.0-or-later Imports: 10 Imported by: 0

Documentation

Overview

legacy dump data format.

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