首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

std::streamsize

Defined in header <ios>

?

?

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)

代码语言:txt
复制
 ? cppreference.com

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

扫码关注腾讯云开发者

领取腾讯云代金券

http://www.vxiaotou.com