savefile

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2023 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNoMagicFound error = errors.New("no magic found")

No magic found on save file.

View Source
var SaveParseErr error = errors.New("general parse error")

General parse error. TODO make more descriptive errors.

Functions

func Parse

func Parse(r io.Reader) (savedata, error)

Attempt to read in a save file.

If the error value is non-nil, the return value does not contain valid data.

Types

This section is empty.

Jump to

Keyboard shortcuts

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