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:
parent
c17474627b
commit
5ebf034aea
6 changed files with 44 additions and 45 deletions
|
@ -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.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue