v0.7.0 beta #21

Merged
muellerr merged 4 commits from prep_v0.7.0-beta into main 2023-08-16 14:22:41 +02:00
3 changed files with 3 additions and 4 deletions
Showing only changes of commit ccf7592284 - Show all commits

View File

@ -805,8 +805,7 @@ impl<'raw_data> PusTmReader<'raw_data> {
self.sec_header.timestamp self.sec_header.timestamp
} }
/// If [Self] was constructed [Self::from_bytes], this function will return the slice it was /// This function will return the slice [Self] was constructed from.
/// constructed from. Otherwise, [None] will be returned.
pub fn raw_data(&self) -> &[u8] { pub fn raw_data(&self) -> &[u8] {
self.raw_data self.raw_data
} }