Crates.io | scuffle-amf0 |
lib.rs | scuffle-amf0 |
version | 0.2.4 |
created_at | 2025-02-09 19:14:03.945477+00 |
updated_at | 2025-06-16 12:34:39.738851+00 |
description | A pure-rust implementation of AMF0 encoder and decoder. |
homepage | |
repository | https://github.com/scufflecloud/scuffle |
max_upload_size | |
id | 1549213 |
size | 115,588 |
[!WARNING]
This crate is under active development and may not be stable.
A pure-rust implementation of AMF0 encoder and decoder.
This crate provides serde support for serialization and deserialization of AMF0 data.
See the changelog for a full release history.
serde
— Enables serde supportdocs
— Enables changelog and documentation of feature flagsName | Version | Link | Comments |
---|---|---|---|
Action Message Format – AMF 0 | - | https://rtmp.veriskope.com/pdf/amf0-file-format-specification.pdf | Refered to as ‘AMF0 spec’ in this documentation |
// Decode a string value from bytes
let value: String = scuffle_amf0::from_slice(bytes)?;
// .. do something with the value
// Encode a value into a writer
scuffle_amf0::to_writer(&mut writer, &value)?;
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