basic_ostream::write
Put characters in a stream.
basic_ostream<_Elem, _Tr>& write(
const char_type *_Str,
streamsize _Count
);
Parameters
_Count
Count of characters to put into the stream._Str
Characters to put into the stream.
Return Value
A reference to the basic_ostream object.
Remarks
The unformatted output function inserts the sequence of _Count elements beginning at _Str.
Example
See streamsize for an example using write.
Requirements
Header: <ostream>
Namespace: std