14 lines
215 B
Rust
14 lines
215 B
Rust
|
pub struct PacketBuilder {
|
||
|
//
|
||
|
}
|
||
|
|
||
|
impl PacketBuilder {
|
||
|
pub fn builder(device_id: u64, msg: &[u8]) -> Self {
|
||
|
Self {}
|
||
|
}
|
||
|
|
||
|
pub fn finalize(self, msg_type: u8) -> Vec<u8> {
|
||
|
todo!()
|
||
|
}
|
||
|
}
|