fix the endianess
This commit is contained in:
parent
68b11dc036
commit
a4e5679c7b
4 changed files with 98 additions and 108 deletions
|
|
@ -25,6 +25,7 @@ impl<'a> DexFileReader<'a> {
|
|||
pub fn new(data: &'a [u8]) -> Result<Self> {
|
||||
let mut buffer = Cursor::new(data);
|
||||
let header = HeaderItem::deserialize(&mut buffer)?;
|
||||
println!("{header:x?}");
|
||||
let mut tmp_file = Self {
|
||||
data,
|
||||
header,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue