[#bsl-basic_stringbuf-in_avail] = xref:bsl.adoc[bsl]::xref:bsl/basic_stringbuf.adoc[basic_stringbuf]::in_avail :relfileprefix: ../../ :mrdocs: Looking ahead into the stream. == Synopsis Declared in `<bslstl_stringbuf.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- streamsize in_avail(); ---- == Description If a read position is available, returns the number of characters available for reading before the buffer must be refilled. Otherwise returns the derived `showmanyc().` == Return Value The number of characters available. [.small]#Created with https://www.mrdocs.com[MrDocs]#