CapturedFrame.ReadAsync(IBuffer, UInt32, InputStreamOptions) Method

Definition

Returns an asynchronous byte reader object.

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 count, InputStreamOptions 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 into which the asynchronous read operation places the bytes that are read.

count
UInt32

The number of bytes to read that is less than or equal to the Capacity value.

options
InputStreamOptions

Specifies the type of the asynchronous read operation.

Returns

IAsyncOperationWithProgress<IBuffer,UInt32>

The asynchronous operation.

Implements

Applies to