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

fix bug #36: never directly use *(int32_t*) to convert, for arm may not support

This commit is contained in:
winlin 2014-05-08 12:12:01 +08:00
parent fa9870db96
commit f6dd1371bf
5 changed files with 70 additions and 18 deletions

View file

@ -129,6 +129,10 @@ public:
* write string to stream
*/
virtual void write_string(std::string value);
/**
* write bytes to stream
*/
virtual void write_bytes(char* data, int size);
};
#endif