Trait mutnet::data_buffer::Payload
source · pub trait Payload {
// Required methods
fn payload(&self) -> &[u8] ⓘ;
fn payload_length(&self) -> usize;
}
Expand description
Access the highest parsed layer’s payload.
Required Methods§
sourcefn payload_length(&self) -> usize
fn payload_length(&self) -> usize
Returns the length of the highest parsed layer’s payload.