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

rename ISrsCodec size to nb_bytes.

This commit is contained in:
winlin 2015-10-22 12:20:31 +08:00
parent 33a015329d
commit d013374871
3 changed files with 39 additions and 39 deletions

View file

@ -67,9 +67,9 @@ public:
virtual ~ISrsCodec();
public:
/**
* get the size of object to encode object to bytes.
* get the number of bytes to code to.
*/
virtual int size() = 0;
virtual int nb_bytes() = 0;
/**
* encode object to bytes in SrsBuffer.
*/