std::basic_streambuf::in_avail
Aus cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
<metanoindex/>
<tbody> </tbody> std::streamsize in_avail(); |
||
Gibt die Anzahl der noch verfügbaren Zeichen in der get-Bereich. Wenn ein Lese-Position verfügbar ist, effektiv kehrt
egptr() - gptr(), die Größe des get-Bereich. In diesem Fall ist die Anzahl der Bytes zurückgegeben die Anzahl von Bytes, die aus dem Puffer ohne Aufruf underflow() extrahiert werden kann .Original:
Returns the number of characters available in the get area. If a read position is available, effectively returns
egptr() - gptr(), the size of the get area. In this case, the number of bytes returned is the number of bytes that can be extracted from the buffer without calling underflow().The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Wenn das Get-Bereich leer ist, ruft
showmanyc() um die Anzahl der verfügbaren Bytes in dem zugehörigen Zeichensequenz zu bestimmen. In diesem Fall ist der Wert zurückgegeben die Anzahl von Bytes, die aus dem Puffer extrahiert werden kann, während es garantiert, dass underflow() nicht zurückkehren würde Traits::eof kann .Original:
If the get area is empty, calls
showmanyc() to determine the number of bytes available in the associated character sequence. In this case, the value returned is the number of bytes that can be extracted from the buffer while it's guaranteed that underflow() would not return Traits::eof.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Parameter
(None)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Rückgabewert
Die Anzahl der Zeichen in der get-Bereich oder in der zugehörigen Zeichenfolge oder
-1 wenn keine Zeichen in der zugehörigen Sequenz sind .Original:
The number of characters available in the get area or in the associated character sequence, or
-1 if no characters are available in the associated sequence.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Beispiel
| This section is incomplete Reason: no example |
Siehe auch
[virtuell] |
Optional bietet die Anzahl der noch verfügbaren Zeichen für die Eingabe aus der Datei Original: optionally provides the number of characters available for input from the file The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (virtuellen geschützten Member-Funktion of std::basic_filebuf)
|
extrahiert bereits verfügbaren Blöcke von Zeichen Original: extracts already available blocks of characters The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (öffentliche Elementfunktion of std::basic_istream)
| |