Skip to content

Commit

Permalink
fix: Fix parsing issue in PjsExtension impl and add logging informati…
Browse files Browse the repository at this point in the history
…on for buffer
  • Loading branch information
S0c5 committed Apr 30, 2024
1 parent d0fd3d1 commit fb3f59c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pjs-rs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -157,10 +157,10 @@ impl PjsExtension {
return;
};
log::info!("s({:?})", s);
// *b = u8::from_str_radix(s, 16).unwrap_or_default();
*b = 1;
*b = u8::from_str_radix(s, 16).unwrap_or_default();
log::info!("b({:?})", &b);
}
log::info!("buf({:?})", &buf);
}
}

Expand Down

0 comments on commit fb3f59c

Please sign in to comment.