Commit Graph

16 Commits

Author SHA1 Message Date
scruzin b680e3e164 EncodeInt24 and EncodeInt32 now take unsigned integers for consistency with decoder counterparts. 2019-01-14 10:14:25 +10:30
scruzin ffcd011220 Added more number and string encoding/decoding tests. 2019-01-13 19:06:04 +10:30
scruzin 137ff7990a Removed unnecessary conversions. 2019-01-13 16:18:25 +10:30
scruzin a8572722b5 Uncomment accidentally commented-out code. 2019-01-13 15:55:02 +10:30
scruzin f7c90e1093 Tested decoding of named properties. 2019-01-13 15:24:38 +10:30
scruzin 8cd5627974 Test nested objects. 2019-01-13 12:09:06 +10:30
scruzin 8f2a8ced9d More idiomatic names for Object's property getters. 2019-01-13 08:09:54 +10:30
scruzin 8a68cbca2f PropEncode/PropDecode -> EncodeProperty/DecodeProperty. 2019-01-13 07:51:35 +10:30
scruzin 32c281d2dc Added type-specific wrappers for amf.Object.GetProperty, namely GetNumber, GetString and GetObject. 2019-01-12 18:43:51 +10:30
scruzin 5b94ddfbe9 Renamed Object.Props to Properties. 2019-01-12 18:04:04 +10:30
scruzin b31c65001e Implemented boolean properties (although our rtmp implementation does not seem to require it at present). 2019-01-12 17:39:32 +10:30
scruzin 2105339657 Export Property members so getters are no longer required and made amf.GetProp a method on Object. 2019-01-12 16:10:09 +10:30
scruzin 1fe1849393 amf.Decode and amf.PropDecode now return an error. 2019-01-12 14:55:12 +10:30
scruzin b79a035d0f Added error return value to all encoding functions. 2019-01-12 14:18:50 +10:30
scruzin f0b98ab371 Added TestProperties and TestObjects. 2019-01-12 13:46:21 +10:30
scruzin c2d4e0b4a2 Initial revision. 2019-01-12 08:57:53 +10:30