Decompressor.ReadAsync(IBuffer, UInt32, InputStreamOptions) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Reads from the compression stream asynchronously.
public:
virtual IAsyncOperationWithProgress<IBuffer ^, unsigned int> ^ ReadAsync(IBuffer ^ buffer, unsigned int count, InputStreamOptions options) = ReadAsync;
IAsyncOperationWithProgress<IBuffer, uint32_t> ReadAsync(IBuffer const& buffer, uint32_t const& count, InputStreamOptions const& options);
public IAsyncOperationWithProgress<IBuffer,uint> ReadAsync(IBuffer buffer, uint count, InputStreamOptions options);
function readAsync(buffer, count, options)
Public Function ReadAsync (buffer As IBuffer, count As UInteger, options As InputStreamOptions) As IAsyncOperationWithProgress(Of IBuffer, UInteger)
Parameters
- buffer
- IBuffer
The buffer that contains the information to be read from the stream.
- count
-
UInt32
unsigned int
uint32_t
The number of bytes to read.
- options
- InputStreamOptions
Read options
Returns
Windows.Foundation.IAsyncOperationWithProgress<Windows.Storage.Streams.IBuffer,unsigned int>
IAsyncOperationWithProgress<IBuffer,uint32_t>
The asynchronous operation.
Implements
M:Windows.Storage.Streams.IInputStream.ReadAsync(Windows.Storage.Streams.IBuffer,System.UInt32,Windows.Storage.Streams.InputStreamOptions)
M:Windows.Storage.Streams.IInputStream.ReadAsync(Windows.Storage.Streams.IBuffer,unsigned int,Windows.Storage.Streams.InputStreamOptions)
M:Windows.Storage.Streams.IInputStream.ReadAsync(Windows.Storage.Streams.IBuffer,uint32_t,Windows.Storage.Streams.InputStreamOptions)