Documentation
¶
Index ¶
Constants ¶
View Source
const FtabMagic uint64 = 0x62617466736f6b72 // "rkosftab" in ASCII
Variables ¶
View Source
var ( ErrInvalidMagic = errors.New("invalid ftab magic") ErrInvalidVersion = errors.New("unsupported ftab version") )
Functions ¶
This section is empty.
Types ¶
type CompressedEntry ¶
type Entry ¶
type Entry struct {
EntryHeader
// contains filtered or unexported fields
}
func (*Entry) Decompress ¶
func (*Entry) IsCompressed ¶
func (e *Entry) IsCompressed() (*CompressedEntry, bool)
type EntryHeader ¶
type EntryHeader struct {
Tag [4]byte
Offset uint32
Size uint32
// contains filtered or unexported fields
}
EntryHeader represents a single entry in an ftab file
type Ftab ¶
type Ftab struct {
Header Header
Entries []*Entry
Ticket []byte // Optional ApTicket data for signature verification
// contains filtered or unexported fields
}
Ftab represents a parsed ftab file
func (*Ftab) GetEntryByName ¶
GetEntryByName returns the entry with the given name, or nil if not found
func (*Ftab) GetEntryByOffset ¶
GetEntryByOffset returns the entry containing the given offset, or nil if not found
Click to show internal directories.
Click to hide internal directories.