scuffle-amf0
[!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.
Feature flags
serde— Enables serde supportdocs— Enables changelog and documentation of feature flags
Specification
| Name | 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 |
Limitations
- Does not support AMF0 references.
- Does not support the AVM+ Type Marker. (see AMF 0 spec, 3.1)
Example
// Decode a string value from bytes
let value: String = from_slice?;
// .. do something with the value
// Encode a value into a writer
to_writer?;
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