BloombergLP::bdlbb::InBlobStreamBuf::pbackfail

Put back a character into the get area of this streambuf.

Synopsis

Declared in <bdlbb_blobstreambuf.h>

virtual
int_type
pbackfail(int_type c = bsl::streambuf::traits_type::eof()) override;

Description

Adjust the underlying blob and put the optionally specified character c at the newly valid gptr(). Return c (or ~traits_type::eof if c == traits_type::eof) on success, and traits_type::eof() otherwise.

Return Value

c (or ~traits_type::eof if c == traits_type::eof) on success, and traits_type::eof() otherwise

Parameters

NameDescription
ccharacter to put back; defaults to traits_type::eof()