reader

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadUPS

func ReadUPS(data []byte) (*common.PatchData, error)

ReadUPS takes a file object and reads it into a PatchData data structure.

func ReadVariableLengthInteger

func ReadVariableLengthInteger(reader io.ByteReader) (uint64, error)

ReadVariableLengthInteger reads a variable-length encoded integer. Based off of https://github.com/mgba-emu/mgba/blob/31993afd2a9bcadda690248f77d0f62363b82b51/src/util/patch-ups.c#L208

Types

This section is empty.

Jump to

Keyboard shortcuts

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