在线文档教程
C++
输入/输出 | Input/output

std::streamsize

STD::流线型

Defined in header
typedef /*unspecified*/ streamsize;

类型std::streamsize表示I/O操作中传输的字符数或I/O缓冲区大小的带符号整型。它用作std::size_t,类似于POSIX类型ssize_t...

除在std::strstreambuf的负值std::streamsize从未被使用过。

另见

gcountreturns number of characters extracted by last unformatted input operation (public member function of std::basic_istream)
ignoreextracts and discards characters until the given character is found (public member function of std::basic_istream)
readextracts blocks of characters (public member function of std::basic_istream)
writeinserts blocks of characters (public member function of std::basic_ostream)

© cppreference.com

在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。

http://en.cppreference.com/w/cpp/io/Stresize