Documentation ¶
Overview ¶
Package rom has helper functions for extracting rom data. Currently it is only used to hash them.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Decode ¶
func Decode(p string) (io.ReadCloser, error)
Decode takes a path and returns a reader for the inner rom data.
func Noop ¶
func Noop(f io.ReadCloser, s int64) (io.ReadCloser, error)
Noop does nothong but return the passed in file.
func RegisterFormat ¶
RegisterFormat registers a format with the rom package.
Types ¶
type Decoder ¶
type Decoder func(io.ReadCloser, int64) (io.ReadCloser, error)
Click to show internal directories.
Click to hide internal directories.