1 unstable release
new 0.1.0 | Feb 10, 2025 |
---|---|
0.0.2 |
|
0.0.1 |
|
#409 in Video
90 downloads per month
Used in 3 crates
55KB
1K
SLoC
scuffle-amf0
[!WARNING]
This crate is under active development and may not be stable.
A pure-rust implementation of AMF0 encoder and decoder.
License
This project is licensed under the MIT or Apache-2.0 license. You can choose between one of them if you use this work.
SPDX-License-Identifier: MIT OR Apache-2.0
lib.rs
:
A pure-rust implementation of AMF0 encoder and decoder.
This crate provides a simple interface for encoding and decoding AMF0 data.
Examples
use scuffle_amf0::Amf0Decoder;
use scuffle_amf0::Amf0Encoder;
// Create a new decoder
let mut reader = Amf0Decoder::new(bytes);
let value = reader.decode()?;
// .. do something with the value
// Encode a value into a writer
Amf0Encoder::encode(&mut writer, &value)?;
Dependencies
~0.6–1.2MB
~24K SLoC