Skip to content

feathersui/amfio

Repository files navigation

AMF I/O

Readers and writers for OpenFL targeting the Action Message Format (AMF) and Flash Local Shared Object (LSO) binary data formats. Written in Haxe.

Contains the following types for AMF input and output.

  • AMFReader: Reads AMF0 or AMF3 objects from a ByteArray
  • AMFWriter: Writes AMF0 or AMF3 objects to a ByteArray
  • SolReader: Reads Flash Local Shared Object data from a ByteArray
  • SolWriter: Writes Flash Local Shared Object data to a ByteArray
  • AMFEcmaArray: An associative array that may contain both integer and string keys. Like a combination of an array and an anonymous structure.
  • AMFDictionary: Similar to the Map type, but keys are not restricted to a single type.

Minimum Requirements

  • Haxe 4.1
  • OpenFL 9.2.0

Installation

Run the following command in a terminal to install amfio from Haxelib.

haxelib install amfio

Project Configuration

After installing the library above, add it to your OpenFL project.xml file:

<haxelib name="amfio" />

Documentation