Documentation
¶
Overview ¶
Package fmap parses flash maps.
Index ¶
- Constants
- Variables
- func FlagNames(flags uint16) string
- func Read(f io.Reader) (*FMap, *Metadata, error)
- func Write(f io.WriteSeeker, fmap *FMap, m *Metadata) error
- type Area
- type FMap
- func (f *FMap) Checksum(r io.ReaderAt, h hash.Hash) ([]byte, error)
- func (f *FMap) IndexOfArea(name string) int
- func (f *FMap) ReadArea(r io.ReaderAt, i int) ([]byte, error)
- func (f *FMap) ReadAreaByName(r io.ReaderAt, name string) ([]byte, error)
- func (f *FMap) WriteArea(r io.WriterAt, i int, data []byte) error
- func (f *FMap) WriteAreaByName(r io.WriterAt, name string, data []byte) error