Contents

buf_setcount

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

Declaration

void buf_setcount(buf_t bp, uint32_t bcount);

Parameters

  • bp:

    Buffer whose byte count to set.

  • bcount:

    Count to set.

Return Value

void.

See Also

Buffers