Struct p25::data::payload::Payload [] [src]

pub struct Payload<'a, P: PacketParams> { /* fields omitted */ }

Wraps a buffer of bytes, splitting them over payload blocks.

Methods

impl<'a, P: PacketParams> Payload<'a, P>
[src]

[src]

Construct a new Payload over the given data bytes.

[src]

Total number of blocks in the payload.

[src]

Number of pad bytes in the payload.

Important traits for PayloadIter<'a, P>
[src]

Construct an iterator over the normal blocks for the payload.

[src]

Get the tail block of the payload.