#![cfg_attr(feature = "docs", doc = "\n\nSee the [changelog][changelog] for a full release history.")]
#![cfg_attr(feature = "docs", doc = "## Feature flags")]
#![cfg_attr(feature = "docs", doc = document_features::document_features!())]
#![cfg_attr(all(coverage_nightly, test), feature(coverage_attribute))]
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
#![deny(missing_docs)]
#![deny(unsafe_code)]
#![deny(unreachable_pub)]
#[cfg(feature = "serde")]
pub mod de;
pub mod decoder;
pub mod encoder;
pub mod error;
#[cfg(feature = "serde")]
pub mod ser;
pub mod value;
#[cfg(feature = "serde")]
pub use de::{from_buf, from_reader, from_slice};
pub use decoder::Amf0Decoder;
pub use encoder::Amf0Encoder;
pub use error::{Amf0Error, Result};
#[cfg(feature = "serde")]
pub use ser::{to_bytes, to_writer};
pub use value::{Amf0Array, Amf0Object, Amf0Value};
#[derive(Debug, PartialEq, Eq, Clone, Copy, num_derive::FromPrimitive)]
#[repr(u8)]
pub enum Amf0Marker {
Number = 0x00,
Boolean = 0x01,
String = 0x02,
Object = 0x03,
MovieClipMarker = 0x04,
Null = 0x05,
Undefined = 0x06,
Reference = 0x07,
EcmaArray = 0x08,
ObjectEnd = 0x09,
StrictArray = 0x0a,
Date = 0x0b,
LongString = 0x0c,
Unsupported = 0x0d,
Recordset = 0x0e,
XmlDocument = 0x0f,
TypedObject = 0x10,
AVMPlusObject = 0x11,
}
#[cfg(feature = "docs")]
#[scuffle_changelog::changelog]
pub mod changelog {}