Benutzer-Werkzeuge

Webseiten-Werkzeuge


en:fileformats:myst4:type0

Type 0: Container

File Format Description

File Structure

  • Format Type: Container
  • Endian Order: Little Endian
  • File Extension: .m4b
FILE
Header
INT+32 0x1 Identifier length 0xb
CHAR8 0xb Identifier „UBI_BF_SIG“ + 0x0
INT+32 0x1 Number of directories = ab
INT+32 0x1 reserved 0x0
DIR* [ab] Directory structure
Files
DATA EOF Files

User Defined Structures

DIR*
Dir
INT+8 0x1 Number of subdirectories = ba
if (ba == 0) {
INT+32 0x1 Number of files = bb
FILEINFO* [bb] File Information
} else {
DIRINFO* [ba] Directory information
}
DIRINFO*
DirInfo
INT+32 0x1 Directory name length = ca
CHAR8 [bc] Directory name null terminated
DIR* 0x1 Directory information
FILEINFO*
FileInfo
INT+32 0x1 File name length = da
CHAR8 [da] File name null terminated
INT+32 0x1 File length
INT+32 0x1 File offset absolute

Reference

en/fileformats/myst4/type0.txt · Zuletzt geändert: 2018-12-17 22:33 von thorsten