P_buf_init 3porty | 2011-04-13 | libporty manual |
---|
P_buf_get_current_len
#include <libporty/util/buf.h>int P_buf_get_current_len (P_buf_t *buf );
Link with -lporty_util
P_buf_get_current_len is useful when the caller wants to limit the growth of the buffer, avoiding allocating too much memory while splitting a stream by limiting record size.
The number of bytes stored in the last (currently gowing) buffer.
P_buf_init 3porty | 2011-04-13 | libporty manual |
---|