Can you make a doxygen comment for this function ?
-> return number of char in the buffer