Module: AMF::AMFConstants

Included in:
Pure::Deserializer, Pure::Serializer
Defined in:
lib/amf/pure/amf_constants.rb

Constant Summary collapse

AMF3_MARKER_UNDEFINED =

AMF3 Type Markers

0x00
AMF3_MARKER_NULL =

“000”

0x01
AMF3_MARKER_FALSE =

“001”

0x02
AMF3_MARKER_TRUE =

“002”

0x03
AMF3_MARKER_INTEGER =

“003”

0x04
AMF3_MARKER_DOUBLE =

“004”

0x05
AMF3_MARKER_STRING =

“005”

0x06
AMF3_MARKER_XML_DOC =

“006”

0x07
AMF3_MARKER_DATE =

“a” not supported

0x08
AMF3_MARKER_ARRAY =

“b”

0x09
AMF3_MARKER_OBJECT =

“t”

0x0A
AMF3_MARKER_XML =

“n”

0x0B
AMF3_MARKER_BYTE_ARRAY =

“v” not supported

0x0C
AMF3_MARKER_VECTOR_INT =

“f”

0x0D
AMF3_MARKER_VECTOR_UINT =

“r” not supported

0x0E
AMF3_MARKER_VECTOR_DOUBLE =

“016” not supported

0x0F
AMF3_MARKER_VECTOR_OBJECT =

“017” not supported

0x10
AMF3_MARKER_DICTIONARY =

“020” not supported

0x11
AMF3_EMPTY_STRING =

Other AMF3 Markers

0x01
AMF3_CLOSE_DYNAMIC_OBJECT =
0x01
AMF3_CLOSE_DYNAMIC_ARRAY =
0x01
INTEGER_MIN =

The minimum value for an integer that will avoid promotion to an ActionScript’s Number type.

-268_435_456
# The maximum value for an integer that will avoid promotion to an ActionScript's Number type.
INTEGER_MAX =

The maximum value for an integer that will avoid promotion to an ActionScript’s Number type.

268_435_455
MIN_INT_2_BYTE =
0x80
MIN_INT_3_BYTE =
0x4000
MIN_INT_4_BYTE =
0x200000