improvement for naming

This commit is contained in:
2025-08-26 16:16:54 +02:00
parent 8eccf1fa29
commit 160b1dedf9
7 changed files with 45 additions and 42 deletions

View File

@@ -376,7 +376,7 @@ pub trait CcsdsPacket {
fn data_len(&self) -> u16;
/// Retrieve the total packet size based on the data length field
#[inline]
fn total_len(&self) -> usize {
fn packet_len(&self) -> usize {
usize::from(self.data_len()) + CCSDS_HEADER_LEN + 1
}