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

For #1694, Refine API for nb_bytes

This commit is contained in:
winlin 2020-12-18 09:56:40 +08:00
parent c17474627b
commit 5ebf034aea
6 changed files with 44 additions and 45 deletions

View file

@ -41,8 +41,7 @@ public:
/**
* get the number of bytes to code to.
*/
// TODO: FIXME: change to uint64_t.
virtual int nb_bytes() = 0;
virtual uint64_t nb_bytes() = 0;
/**
* encode object to bytes in SrsBuffer.
*/