|
|
@ -68,7 +68,7 @@ pub fn parse_log(raw: &Vec<u8>) -> Result<Value> {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
let r = Range { start: 0 as usize, end: size as usize };
|
|
|
|
let r = Range { start: 0 as usize, end: size as usize };
|
|
|
|
|
|
|
|
|
|
|
|
let text_chunk: Vec<u8> = raw.drain(r).collect();
|
|
|
|
let text_chunk: Vec<u8> = raw.drain(r).collect();
|
|
|
|
if text_chunk.len() != size as usize {
|
|
|
|
if text_chunk.len() != size as usize {
|
|
|
|