[#bsl-basic_istringstream-read] = xref:bsl.adoc[bsl]::xref:bsl/basic_istringstream.adoc[basic_istringstream]::read :relfileprefix: ../../ :mrdocs: Extraction without delimiters. == Synopsis Declared in `<bslstl_istringstream.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- __istream_type& read( char_type* __s, streamsize __n); ---- == Description If the stream state is `good(),` extracts characters and stores them into ___s_ until one of the following happens: * ___n_ characters are stored * the input sequence reaches end‐of‐file, in which case the error state is set to `failbit|eofbit.` [NOTE] ==== This function is not overloaded on signed char and unsigned char. ==== == Return Value *this == Parameters [cols="1,4"] |=== | Name| Description | *__s* | A character array. | *__n* | Maximum number of characters to store. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#