[#bsl-basic_syncbuf-in_avail-0b]
= xref:bsl.adoc[bsl]::xref:bsl/basic_syncbuf.adoc[basic&lowbar;syncbuf]::in&lowbar;avail
:relfileprefix: ../../
:mrdocs:

Looking ahead into the stream&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;syncbuf&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
streamsize
in&lowbar;avail();
----

== Description

If a read position is available, returns the number of characters available for reading before the buffer must be refilled&period; Otherwise returns the derived `showmanyc()&period;`

== Return Value

The number of characters available&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
