1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#![no_std]
extern crate alloc;

///
/// Sv2 messages are framed as
/// ```txt
/// extension type: u16
/// msg type: u8
/// msg length: u24
/// payload: [u8; msg length]
/// ```
///
/// Sv2 messages can be encapsulated in noise messages, noise messages are framed as:
///
/// ```txt
/// msg length: u16
/// payload: [u8; msg length]
/// ```
///
///
pub mod framing2;

pub mod error;
pub mod header;
pub use error::Error;