Struct flv_codec::ScriptDataTag[][src]

pub struct ScriptDataTag<Data = Vec<u8>> {
    pub timestamp: Timestamp,
    pub stream_id: StreamId,
    pub data: Data,
}

Script data tag.

Fields

Timestamp.

Stream identifier.

AMF 0 encoded data.

Methods

impl<Data: AsRef<[u8]>> ScriptDataTag<Data>
[src]

Returns the number of bytes required to encode this tag.

Trait Implementations

impl<Data> From<ScriptDataTag<Data>> for Tag<Data>
[src]

Performs the conversion.

impl<Data: Debug> Debug for ScriptDataTag<Data>
[src]

Formats the value using the given formatter. Read more

impl<Data: Clone> Clone for ScriptDataTag<Data>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<Data> Send for ScriptDataTag<Data> where
    Data: Send

impl<Data> Sync for ScriptDataTag<Data> where
    Data: Sync