ExFAT: Difference between revisions

262 bytes added ,  9 years ago
no edit summary
[unchecked revision][unchecked revision]
mNo edit summary
No edit summary
Line 26:
struct {
uint8_t entrytype = 0x85;
uint8_t entrycount; // This is the number of subsequent entries that also belong to this "file" entry. Should be at least 2, one 0xC0 and one 0xC1 for info and filename.
uint8_t entrycount;
uint8_t pad[2];
uint32_t flags; // 0x10 == directory, probably identical to fat32
Line 36:
uint8_t entryType = 0xC0;
uint8_t flags;
uint8_t unk; // = 0. May be part of next field, but then it'd be in big-endian order which is unlikely.
uint8_t unk;
uint8_t filenameLengthInBytes;
uint64_t filesize;
uint32_t unk;
uint32_t startCluster; // minus 2! Same as fat12/16/32.
uint64_t filesize2;
} fileInfoEntry;
26

edits