Contents

buf_count

Get count of valid bytes in a buffer. This may be less than the space allocated to the buffer.

Declaration

uint32_t buf_count(buf_t bp);

Parameters

  • bp:

    Buffer whose byte count to get.

Return Value

Byte count.

See Also

Buffers