add BitmapLegacy
This commit is contained in:
parent
c7456f0a67
commit
638249c2b9
3 changed files with 11 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue