0.1.26 upd
This commit is contained in:
parent
16206894e8
commit
e40c6442ac
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "itunesdb"
|
name = "itunesdb"
|
||||||
version = "0.1.25"
|
version = "0.1.26"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
authors = ["alterwain"]
|
authors = ["alterwain"]
|
||||||
|
|
||||||
|
@ -70,8 +70,8 @@ pub mod deserializer {
|
|||||||
let mut bytes = Vec::new();
|
let mut bytes = Vec::new();
|
||||||
let str_end = u32::from_le_bytes(data[i+8..i+12].try_into().unwrap()) as usize;
|
let str_end = u32::from_le_bytes(data[i+8..i+12].try_into().unwrap()) as usize;
|
||||||
let mut h = i+20;
|
let mut h = i+20;
|
||||||
info!("h: {}, end: {}", h, i+str_end);
|
info!("h: {}, end: {}", h, str_end);
|
||||||
while h < i+str_end {
|
while h < i+20+str_end {
|
||||||
bytes.push(u16::from_le_bytes(data[h..h+2].try_into().unwrap()));
|
bytes.push(u16::from_le_bytes(data[h..h+2].try_into().unwrap()));
|
||||||
h+=2;
|
h+=2;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user