update LV and TLV code #22

Merged
muellerr merged 10 commits from update-lv-tlv into main 2023-08-17 21:33:49 +02:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 6ab05e2d83 - Show all commits

View File

@ -12,7 +12,7 @@ pub const MIN_LV_LEN: usize = 1;
/// Generic CFDP length-value (LV) abstraction as specified in CFDP 5.1.8.
///
/// Please note that this class is zero-copy and does not generate a copy of the value data for
/// both the regular [new] constructor and the [Self::from_bytes] constructor.
/// both the regular [Self::new] constructor and the [Self::from_bytes] constructor.
///
/// # Lifetimes
/// * `data`: If the LV is generated from a raw bytestream, this will be the lifetime of

View File

@ -73,7 +73,7 @@ impl From<TlvTypeField> for u8 {
/// Generic CFDP type-length-value (TLV) abstraction as specified in CFDP 5.1.9.
///
/// Please note that this class is zero-copy and does not generate a copy of the value data for
/// both the regular [new] constructor and the [Self::from_bytes] constructor.
/// both the regular [Self::new] constructor and the [Self::from_bytes] constructor.
///
/// # Lifetimes
/// * `data`: If the TLV is generated from a raw bytestream, this will be the lifetime of