xsgetn overloads

Synopses

Declared in <bslstl_stringbuf.h>

Multiple character extraction.

virtual
streamsize
xsgetn(
    char_type* __s,
    streamsize __n);

Read characters from the input sequence.

virtual
std::streamsize
xsgetn(
    char_type* result,
    std::streamsize numCharacters);

Return Value

  • The number of characters assigned.

  • number of characters loaded into result

Parameters

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

Created with MrDocs