diff --git a/pjs-rs/src/lib.rs b/pjs-rs/src/lib.rs index 87d8b93..726f212 100644 --- a/pjs-rs/src/lib.rs +++ b/pjs-rs/src/lib.rs @@ -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); } }