-
Couldn't load subscription status.
- Fork 5
Open
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers
Description
According to the original unrar sources Little-endian should be used there:
Lines 152 to 161 in b84da66
| /// get a base header | |
| named!(base_header(&[u8]) -> (HeadBlock), | |
| do_parse!( | |
| crc: be_u32 >> | |
| size: vint >> | |
| typ: vint >> | |
| flags: vint >> | |
| (HeadBlock::new(crc, size, typ.into(), flags.into())) | |
| ) | |
| ); |
Lines 68 to 79 in b84da66
| if file.flags.time { | |
| let (i, mtime) = be_u32(input)?; | |
| input = i; | |
| file.mtime = mtime; | |
| } | |
| // check for file crc data | |
| if file.flags.crc { | |
| let (i, crc) = be_u32(input)?; | |
| input = i; | |
| file.data_crc = crc; | |
| } |
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers