Improve CDS timecode implementation #3

Merged
muellerr merged 15 commits from improve_cds_short_impl into main 2023-01-09 11:08:14 +01:00
Showing only changes of commit 630bffec51 - Show all commits

View File

@ -279,6 +279,10 @@ impl<'slice> PusTc<'slice> {
)
}
pub fn sp_header(&self) -> &SpHeader {
&self.sp_header
}
pub fn len_packed(&self) -> usize {
let mut length = PUS_TC_MIN_LEN_WITHOUT_APP_DATA;
if let Some(app_data) = self.app_data {