This commit is contained in:
parent
2b7fcbdd8e
commit
ccf7592284
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user