Versions in this module Expand all Collapse all v0 v0.0.3 Jul 25, 2024 v0.0.2 Jul 25, 2024 v0.0.1 Jul 25, 2024 Changes in this version + type FileBuffer struct + Buffer bytes.Buffer + Offset int + func NewFileBuffer() *FileBuffer + func (fb *FileBuffer) Bytes() []byte + func (fb *FileBuffer) Close() error + func (fb *FileBuffer) Reader() io.Reader + func (fb *FileBuffer) Seek(offset int64, whence int) (int64, error) + func (fb *FileBuffer) Size() int + func (fb *FileBuffer) Tell() int + func (fb *FileBuffer) Write(p []byte) (n int, err error) + type ROM struct + Data []byte + Filename string + Offset int + Size int + func NewROM(filename string) (rom *ROM, err error) + func (rom *ROM) Init() error + func (rom *ROM) Read16() (value uint16, err error) + func (rom *ROM) Read32() (value uint32, err error) + func (rom *ROM) Read8() (value uint8, err error) + func (rom *ROM) ReadString() (value string, err error) + func (rom *ROM) Seek(offset int) + func (rom *ROM) Tell() (offset int)