[#bsl-basic_stringbuf-xsgetn-09] = xref:bsl.adoc[bsl]::xref:bsl/basic_stringbuf.adoc[basic_stringbuf]::xsgetn :relfileprefix: ../../ :mrdocs: `xsgetn` overloads == Synopses Declared in `<bslstl_stringbuf.h>` Multiple character extraction. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual streamsize xref:bsl/basic_stringbuf/xsgetn-0f.adoc[xsgetn]( char_type* __s, streamsize __n); ---- [.small]#xref:bsl/basic_stringbuf/xsgetn-0f.adoc[_» more..._]# Read characters from the input sequence. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual std::streamsize xref:bsl/basic_stringbuf/xsgetn-01.adoc[xsgetn]( xref:bsl/basic_stringbuf/char_type.adoc[char_type]* result, std::streamsize numCharacters); ---- [.small]#xref:bsl/basic_stringbuf/xsgetn-01.adoc[_» more..._]# == Return Value * The number of characters assigned. * number of characters loaded into `result` == Parameters [cols="1,4"] |=== | Name| Description | *__s* | A buffer area. | *__n* | Maximum number of characters to assign. | *result* | destination array for characters read from the buffer | *numCharacters* | maximum number of characters to read |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#