Metodo System::IO::Stream::BeginRead
Contenuti
[
Nascondere
]Stream::BeginRead method
Avvia un’operazione di lettura asincrona.
virtual System::SharedPtr<System::IAsyncResult> System::IO::Stream::BeginRead(System::ArrayPtr<uint8_t> buffer, int offset, int count, System::AsyncCallback callback, System::SharedPtr<System::Object> state)
| Parametro | Tipo | Descrizione |
|---|---|---|
| buffer | System::ArrayPtr<uint8_t> | Un buffer in cui leggere |
| offset | int | Un offset basato su zero in buffer che indica la posizione da cui iniziare a scrivere i dati letti. |
| count | int | Il numero di byte da leggere |
| callback | System::AsyncCallback | Una callback da chiamare al completamento dell’operazione. |
| stato | System::SharedPtr<System::Object> | Dati forniti dall’utente usati per identificare in modo univoco ogni operazione di lettura asincrona. |
ReturnValue
Un oggetto IAsyncResult che rappresenta l’operazione di lettura asincrona avviata.
Vedi anche
- Typedef SharedPtr
- Class IAsyncResult
- Typedef ArrayPtr
- Typedef AsyncCallback
- Class Object
- Class Stream
- Namespace System::IO
- Library Aspose.Font for C++