正在显示
1 个修改的文件
包含
6 行增加
和
0 行删除
| @@ -62,6 +62,12 @@ class __SrsAmf0ObjectEOF; | @@ -62,6 +62,12 @@ class __SrsAmf0ObjectEOF; | ||
| 62 | // SrsAmf0Object* obj = SrsAmf0Any::object(); | 62 | // SrsAmf0Object* obj = SrsAmf0Any::object(); |
| 63 | // 5. SrsAmf0EcmaArray: create the amf0 ecma array. | 63 | // 5. SrsAmf0EcmaArray: create the amf0 ecma array. |
| 64 | // SrsAmf0EcmaArray* arr = SrsAmf0Any::ecma_array(); | 64 | // SrsAmf0EcmaArray* arr = SrsAmf0Any::ecma_array(); |
| 65 | +// | ||
| 66 | +// please carefully the size and count of amf0 any: | ||
| 67 | +// 1. total_size(): the total memory size the object wrote to buffer. | ||
| 68 | +// 2. count(): the total element count of object, for instance, the properties | ||
| 69 | +// of amf0 object, used for key_at/value_at loop. | ||
| 70 | +// | ||
| 65 | // for detail usage, see interfaces of each object. | 71 | // for detail usage, see interfaces of each object. |
| 66 | //////////////////////////////////////////////////////////////////////// | 72 | //////////////////////////////////////////////////////////////////////// |
| 67 | //////////////////////////////////////////////////////////////////////// | 73 | //////////////////////////////////////////////////////////////////////// |
-
请 注册 或 登录 后发表评论