1.1 --- a/plugins/include/bitbuffer.inc Wed Feb 20 07:56:33 2008 +0000
1.2 +++ b/plugins/include/bitbuffer.inc Thu Feb 21 01:03:35 2008 +0000
1.3 @@ -314,3 +314,12 @@
1.4 * @error Invalid or incorrect Handle.
1.5 */
1.6 native BfReadAngles(Handle:bf, Float:angles[3]);
1.7 +
1.8 +/**
1.9 + * Returns the number of bytes left in a readable bitbuffer (bf_read).
1.10 + *
1.11 + * @param bf bf_read handle to read from.
1.12 + * @return Number of bytes left unread.
1.13 + * @error Invalid or incorrect Handle.
1.14 + */
1.15 +native BfGetNumBytesLeft(Handle:bf);