Version: v0.8.1-beta Latest Latest

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

Go to latest
Published: Jun 23, 2015 License: MIT Imports: 11 Imported by: 0



Package rom has helper functions for extracting rom data. Currently it is only used to hash them.



This section is empty.


This section is empty.


func Decode

func Decode(p string) (io.ReadCloser, error)

Decode takes a path and returns a reader for the inner rom data.

func KnownExt

func KnownExt(e string) bool

KnownExt returns True if the extention is registered.

func Noop

func Noop(f io.ReadCloser, s int64) (io.ReadCloser, error)

Noop does nothong but return the passed in file.

func RegisterFormat

func RegisterFormat(ext string, decode Decoder)

RegisterFormat registers a format with the rom package.

func SHA1

func SHA1(p string) (string, error)

SHA1 takes a pathand returns the SHA1 hash of the inner rom.


type Decoder

type Decoder func(io.ReadCloser, int64) (io.ReadCloser, error)

type ZipReader

type ZipReader struct {
	// contains filtered or unexported fields

func (ZipReader) Close

func (r ZipReader) Close() error

func (ZipReader) Read

func (r ZipReader) Read(p []byte) (int, error)


Path Synopsis
Package nes decodes .nes files
Package nes decodes .nes files
Package snes decodes .sms and .sfc files.
Package snes decodes .sms and .sfc files.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL