Metodo System::Net::Sockets::NetworkStream::BeginRead
Contenuti
[
Nascondere
]NetworkStream::BeginRead method
Avvia un’operazione di lettura asincrona.
System::SharedPtr<IAsyncResult> System::Net::Sockets::NetworkStream::BeginRead(System::ArrayPtr<uint8_t> buffer, int32_t offset, int32_t size, AsyncCallback callback, System::SharedPtr<Object> state) override
| Parametro | Tipo | Descrizione |
|---|---|---|
| buffer | System::ArrayPtr<uint8_t> | L’array di byte in cui verranno scritti i byte letti. |
| offset | int32_t | L’offset in byte nell’array specificato. |
| size | int32_t | Il numero di byte da leggere. |
| callback | AsyncCallback | Una callback da chiamare al completamento dell’operazione. |
| stato | System::SharedPtr<Object> | Dati forniti dall’utente usati per identificare univocamente 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 NetworkStream
- Namespace System::Net::Sockets
- Library Aspose.Font for C++