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:
parent
cae8228b09
commit
4a0023ae63
2 changed files with 27 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue