Windows.Storage.Streams.DataReader.LoadAsync

August 14, 2020 ยท View on GitHub

-description

Loads data from the input stream.

-parameters

-param count

The count of bytes to load into the intermediate buffer.

-returns

The asynchronous load data request.

-remarks

The read operation can get more or fewer bytes depending on how the InputStreamOptions property is set.

You will need to call this method to load the data before the data can be read from DataReader.

-examples

Sample applications that use this method include Serializing and deserializing data sample, 3D Printing Sample, Bluetooth RFCOMM chat sample, and Compression sample.

-see-also

InputStreamOptions, Serializing and deserializing data sample