This document is archived and information here might be outdated. Recommended version. |
Provides access to members that control the sequential writing of AMF.
Name | Description | |
---|---|---|
EndAMF3Array | Finishes writing an array. | |
EndAMF3Object | Finishes writing object. | |
EndAMF3ObjectTraits | Call this method to finish writing object traits and switch to writing members. | |
GetCopy | Clones IAMFWriter. Useful when you want to preserve traits and object, string and trait references. | |
StartAMF3Array | Starts writing of array. Returns object reference index. | |
StartAMF3CustomObject | Starst writing a custom object. Contents of this kind of objects are user-defined. | |
StartAMF3Object | Starts writing an object, sends traits by reference. Returns object reference index. | |
StartAMF3ObjectWithTraits | Start writing an object with traits. Returns trait reference index end object reference index. | |
Stream | Obtains underlying stream. | |
WriteAMF3_UTF8 | This method is required if you want to write member names in traits. | |
WriteAMF3_UTF8Ref | This method is required if you want to write member names in traits by reference. | |
WriteAMF3ArrayDenseMarker | Switches from writing of associative portion of an array to dense portion. | |
WriteAMF3ArrayRef | Writes an array by reference. | |
WriteAMF3Bool | Writes boolean value. | |
WriteAMF3ByteArray | Writes byte array. Returns object reference index. Note that this is not an AMF3 array but another type - AMF3 byte array. | |
WriteAMF3ByteArrayRef | Writes byte array by reference. Note that this is not an AMF3 array but another type - AMF3 byte array. | |
WriteAMF3Date | Writes date. Returns object reference index. | |
WriteAMF3DateRef | Writes date by reference. Important: do not use this method if you send dates as JSON numbers, references will be incorrect. | |
WriteAMF3Double | Writes double (64-bit) value. | |
WriteAMF3Int | Writes integer (32-bit) value. | |
WriteAMF3Null | Writes null value. | |
WriteAMF3ObjectRef | Writes object by reference. | |
WriteAMF3String | Writes string value. Returns string reference index. | |
WriteAMF3StringRef | Writes string value by reference. | |
WriteAMF3Undefined | Writes undefined value. | |
WriteAMF3Variant | Writes value types (excluding array and object), may return string or object reference index. If reference is not applicable, value_ref is set to -1. | |
WriteAMF3Xml | Writes XML. Returns object reference index. | |
WriteAMF3XmlDoc | Writes XML document. Returns object reference index. | |
WriteAMF3XmlDocRef | Writes XML document by reference. | |
WriteAMF3XmlRef | Writes XML by reference. | |
WriteTo | Specifies output AMF stream. | |
WriteU16 | Writes short integer. AMF0 format only. Don't use this method for AMF3 objects. | |
WriteU32 | Writes an integer. AMF0 format only. Don't use this method for AMF3 objects. | |
WriteU8 | Writes a byte. AMF0 format only. Don't use this method for AMF3 objects. | |
WriteUTF8 | This method is used to write AMF0 strings. AMF0 format only. Don't use this method for AMF3 objects. |
Classes | Description |
---|---|
AMFWriter | A sequential AMF Writer. |