Skip to main content

link_cli/sequences/
address_to_raw_number_converter.rs

1use crate::hybrid_reference::external_reference;
2
3#[derive(Clone, Copy, Debug, Default)]
4pub struct AddressToRawNumberConverter;
5
6impl AddressToRawNumberConverter {
7    pub fn new() -> Self {
8        Self
9    }
10
11    pub fn convert(&self, address: u32) -> u32 {
12        external_reference(address)
13    }
14}