# AmfObject

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

Created by pedro on 20/04/21.

A Map of others amf packets where key is an AmfString and value could be any amf packet

#### Inheritors

AmfEcmaArray

## Constructors

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

## 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 fun setProperty(name: String)
open fun setProperty(name: String, data: AmfData)
open fun setProperty(name: String, data: Any)
open fun setProperty(name: String, data: Boolean)
open fun setProperty(name: String, data: Double)
open fun setProperty(name: String, data: String)
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)