Crate mediasan_common
source ·Expand description
mediasan-common
is a common library shared by the mediasan
media format “sanitizers”.
Re-exports
pub use error::Error;
pub use error::Report;
pub use error::Result;
pub use error::ResultExt;
pub use async_skip::AsyncSkipExt;
Modules
- Utility functions for the
AsyncSkip
trait. - Error types returned by the public API.
- Common macros used by the
mediasan
crates. - Unstable API for parsing media files.
- Adapter utilities to run carefully designed async code in a sync context.
- Common utilities used by the
mediasan
crates.
Macros
Structs
- A pointer to a span in the given input.
Traits
- A subset of the [
AsyncSeek
] trait, providing a cursor which can skip forward within a stream of bytes. - A subset of the [
Seek
] trait, providing a cursor which can skip forward within a stream of bytes.