pcount

To determine the effective length of the buffer.

  int pcount() const;
  
Remarks

The function pcount() is used to determine the offset of the next character position from the beginning of the buffer.

For an example of strstreambuf::pcount() usage refer to strstreambuf::freeze.