Added amb1460 - BfGetNumBytesLeft

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401878
This commit is contained in:
Matt Woodrow
2008-02-21 01:03:35 +00:00
parent 9a49bf2f08
commit 7a5b8caa16
2 changed files with 29 additions and 0 deletions
+9
View File
@@ -314,3 +314,12 @@ native BfReadVecNormal(Handle:bf, Float:vec[3]);
* @error Invalid or incorrect Handle.
*/
native BfReadAngles(Handle:bf, Float:angles[3]);
/**
* Returns the number of bytes left in a readable bitbuffer (bf_read).
*
* @param bf bf_read handle to read from.
* @return Number of bytes left unread.
* @error Invalid or incorrect Handle.
*/
native BfGetNumBytesLeft(Handle:bf);