# AmfEcmaArray

class AmfEcmaArray(properties: LinkedHashMap<AmfString, AmfData> = LinkedHashMap()) : AmfObject

Created by pedro on 20/04/21.

Exactly the same that AmfObject but start with an UInt32 that indicate the number of lines in Map

## Constructors

AmfEcmaArray
Link copied to clipboard
constructor(properties: LinkedHashMap<AmfString, AmfData> = LinkedHashMap())

## Properties

length
Link copied to clipboard
var length: Int

## Functions

getProperties
Link copied to clipboard
fun getProperties(): LinkedHashMap<AmfString, AmfData>
getProperty
Link copied to clipboard
fun getProperty(name: String): AmfData?
getSize
Link copied to clipboard
open override fun getSize(): Int
getType
Link copied to clipboard
open override fun getType(): AmfType
readBody
Link copied to clipboard
open override fun readBody(input: InputStream)
readHeader
Link copied to clipboard
fun readHeader(input: InputStream): AmfType
setProperty
Link copied to clipboard
open override fun setProperty(name: String)
open override fun setProperty(name: String, data: Boolean)
open override fun setProperty(name: String, data: Double)
open override fun setProperty(name: String, data: String)
open fun setProperty(name: String, data: AmfData)
open fun setProperty(name: String, data: Any)
toString
Link copied to clipboard
open override fun toString(): String
writeBody
Link copied to clipboard
open override fun writeBody(output: OutputStream)
writeHeader
Link copied to clipboard
fun writeHeader(output: OutputStream)