Windows.Storage.Streams.DataWriter

December 9, 2020 ยท View on GitHub

-description

Writes data to an output stream.

-remarks

Instances of DataWriter objects do not support concurrent writes. If an application concurrently writes or detaches a stream from a DataWriter instance that is being written to the call to the object will fail with the error HRESULT_FROM_WIN32(ERROR_INVALID_OPERATION).

-examples

See the code example in the DataReader topic.

-see-also

Serializing and deserializing data sample (Windows 10), File access sample (Windows 10), DatagramSocket sample (Windows 10), StreamSocket sample (Windows 10), Custom USB device sample (Windows 10), DataReader, DataWriterStoreOperation