Documentation for a minimal subset of the QSM API
BeginRead Method (position, buffer, callback, state)
Namespaces > QS.Fx.Filesystem > IFile > BeginRead(Int64, ArraySegment<(Of Byte>), AsyncCallback, Object)
Read a segment of memory at the given position asynchronously.
Syntax
C#Visual BasicManaged C++
IAsyncResult BeginRead (
	long position,
	ArraySegment<byte> buffer,
	AsyncCallback callback,
	Object state
)
Function BeginRead ( _
	position As Long, _
	buffer As ArraySegment(Of Byte), _
	callback As AsyncCallback, _
	state As Object _
) As IAsyncResult
IAsyncResult^ BeginRead (
	long long position, 
	ArraySegment<unsigned char> buffer, 
	AsyncCallback^ callback, 
	Object^ state
)
Parameters
position (Int64)
The position to read at.
buffer (ArraySegment<(Of Byte>))
The memory buffer that the data should be read into.
callback (AsyncCallback)
The callback to invoke when the transmission completes or if it fails.
state (Object)
The context object to be passed to the callback.
Return Value
The reference to the asynchronous read request.

Assembly: QuickSilver_1 (Module: QuickSilver_1) Version: 1.0.0.0