add BitmapLegacy

This commit is contained in:
Vinzenz Schroeter 2024-05-10 21:27:34 +02:00
parent c7456f0a67
commit 638249c2b9
3 changed files with 11 additions and 1 deletions

View file

@ -1,7 +1,9 @@
#[derive(Debug)]
pub struct Header(pub u16, pub u16, pub u16, pub u16, pub u16);
pub type Payload = Vec<u8>;
#[derive(Debug)]
pub struct Packet(pub Header, pub Payload);
impl Into<Vec<u8>> for Packet {