mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-04-26 15:39:59 -07:00
chore: cargo fmt
This commit is contained in:
committed by
Will Greenberg
parent
151e186ef9
commit
9fe75ac961
@@ -1,10 +1,10 @@
|
||||
use telcom_parser::lte_rrc::BCCH_DL_SCH_Message;
|
||||
use asn1_codecs::{uper::UperCodec, PerCodecData};
|
||||
use telcom_parser::lte_rrc::BCCH_DL_SCH_Message;
|
||||
|
||||
fn hex_to_bin(hex: &str) -> Vec<u8> {
|
||||
(0..hex.len())
|
||||
.step_by(2)
|
||||
.map(|i| u8::from_str_radix(&hex[i..i+2], 16).unwrap())
|
||||
.map(|i| u8::from_str_radix(&hex[i..i + 2], 16).unwrap())
|
||||
.collect()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user