Commit Graph

23 Commits

Author SHA1 Message Date
scruzin adfb87dcf9 TypeString now exported (was typeString). 2019-01-20 07:30:24 +10:30
scruzin 65d0952dd3 Improved Property doc comment. 2019-01-15 09:57:59 +10:30
scruzin b680e3e164 EncodeInt24 and EncodeInt32 now take unsigned integers for consistency with decoder counterparts. 2019-01-14 10:14:25 +10:30
scruzin 137ff7990a Removed unnecessary conversions. 2019-01-13 16:18:25 +10:30
scruzin 5cf880761e Further simlified EncodeProperty and improved some comments. 2019-01-13 15:44:54 +10:30
scruzin b78aae6a19 Respect decodeName param when recursively decoding objects. 2019-01-13 12:09:40 +10:30
scruzin f8b8d06b2e Removed ErrEndOfBuffer checks which are not required. 2019-01-13 10:10:43 +10:30
scruzin e8002582da Added DecodeInt32LE. 2019-01-13 09:59:57 +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 e0a4c39c8b Fix typo in comment. 2019-01-12 20:07:56 +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 5505edab5a Remove reference to deprecated invalidType data type. 2019-01-12 17:53:02 +10:30
scruzin cb2ea08fff Use literal values for data type consts per the AMF spec, rather than iota. 2019-01-12 17:48:17 +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 396c809424 Documented methods and standardized on 'buf' for parameter name. 2019-01-12 15:33:14 +10:30
scruzin f7de9526c8 Removed Reset and PropReset which are not required. 2019-01-12 15:29:58 +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 255464d85a amf.AMF now amf.Object, amf type consts now prefixed with type and vu struct merged into Property. 2019-01-12 08:56:57 +10:30
scruzin f13d4010cc Moved AMF functions into a new rtmp/amf package; names otherwise unchanged. 2019-01-12 07:13:27 +10:30