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
从未被使用过。
另见
gcount | returns number of characters extracted by last unformatted input operation (public member function of std::basic_istream) |
---|---|
ignore | extracts and discards characters until the given character is found (public member function of std::basic_istream) |
read | extracts blocks of characters (public member function of std::basic_istream) |
write | inserts blocks of characters (public member function of std::basic_ostream) |
© cppreference.com
在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。