Click or drag to resize
GDFileRandomAccessStreamReadAsync Method
Reads file asynchronously using provided InputStreamOptions.

Namespace:  GD
Assembly:  GD (in GD.dll) Version: 255.255.255.255
Syntax
public IAsyncOperationWithProgress<IBuffer, uint> ReadAsync(
	IBuffer buffer,
	uint count,
	InputStreamOptions options
)

Parameters

buffer
Type: Windows.Storage.StreamsIBuffer
The buffer into which the asynchronous read operation places the bytes that are read.
count
Type: SystemUInt32
The number of bytes to read.
options
Type: Windows.Storage.StreamsInputStreamOptions
Specifies the type of the asynchronous read operation represented by InputStreamOptions.

Return Value

Type: IAsyncOperationWithProgressIBuffer, UInt32
When this method completes, it returns IBuffer that represents read file.

Implements

IInputStreamReadAsync(IBuffer, UInt32, InputStreamOptions)
See Also