pub struct Header {
pub version: u8,
pub audio_flag: bool,
pub video_flag: bool,
pub data_offset: u32,
}Expand description
FLV file header
Fields§
§version: u8File version (for example, 0x01 for FLV version 1)
audio_flag: boolaudio tags are present
video_flag: boolvideo tags are present
data_offset: u32The DataOffset field usually has a value of 9 for FLV version 1. This field is present to accommodate larger headers in future versions.
Implementations§
Trait Implementations§
Source§impl Ord for Header
impl Ord for Header
Source§impl PartialOrd for Header
impl PartialOrd for Header
impl Copy for Header
impl Eq for Header
impl StructuralPartialEq for Header
Auto Trait Implementations§
impl Freeze for Header
impl RefUnwindSafe for Header
impl Send for Header
impl Sync for Header
impl Unpin for Header
impl UnwindSafe for Header
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more