Compartir a través de


streambuf::sbumpc Method

Reads a single character from the stream and advances the read position.

virtual typename details::basic_streambuf<_CharType>::int_type sbumpc();

Return Value

The value of the character. -1 if the read fails. -2 if an asynchronous read is required

Remarks

This is a synchronous operation, but is guaranteed to never block.

Requirements

Header: astreambuf.h

Namespace: concurrency::streams

See Also

Reference

streambuf Class