legacy

package
Version: v0.4.1 Latest Latest
Warning

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

Go to latest
Published: May 26, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

The legacy package is used to serialize between rbxdump and Roblox legacy API dump format.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(r io.Reader) (root *rbxdump.Root, err error)

Decode parses an API dump from r.

func Encode

func Encode(w io.Writer, root *rbxdump.Root) (err error)

Encode encodes root, writing the results to w in the API dump format.

Types

type SyntaxError

type SyntaxError interface {
	error
	// SyntaxError returns an error message and the line on which the error
	// occurred.
	SyntaxError() (msg string, line int)
}

SyntaxError indicates that a syntax error occurred while decoding.

Jump to

Keyboard shortcuts

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