1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

amf0 utest: finish utest for string to any

This commit is contained in:
winlin 2014-03-08 14:05:45 +08:00
parent cae8228b09
commit 4a0023ae63
2 changed files with 27 additions and 0 deletions

View file

@ -60,6 +60,10 @@ public:
virtual bool is_object_eof();
virtual bool is_ecma_array();
public:
/**
* get the string of any when is_string() indicates true.
* user must ensure the type is a string, or assert failed.
*/
virtual std::string to_str();
public:
virtual int size() = 0;