Metodo System::Net::Sockets::NetworkStream::Read
Contenuti
[
Nascondere
]NetworkStream::Read(const ArrayPtr<uint8_t>&, int32_t, int32_t) method
Legge il numero specificato di byte dal flusso e li scrive nell’array di byte specificato.
int32_t System::Net::Sockets::NetworkStream::Read(const ArrayPtr<uint8_t> &buffer, int32_t offset, int32_t size) override
| Parametro | Tipo | Descrizione |
|---|---|---|
| buffer | const 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. |
ReturnValue
Il numero di byte letti.
Vedi anche
- Typedef ArrayPtr
- Class NetworkStream
- Namespace System::Net::Sockets
- Library Aspose.Font for C++
NetworkStream::Read(const System::Details::ArrayView<uint8_t>&, int32_t, int32_t) method
Legge il numero specificato di byte dal flusso e li scrive nell’array di byte specificato.
int32_t System::Net::Sockets::NetworkStream::Read(const System::Details::ArrayView<uint8_t> &buffer, int32_t offset, int32_t size) override
| Parametro | Tipo | Descrizione |
|---|---|---|
| buffer | const System::Details::ArrayView<uint8_t>& | La vista dell’array di byte a cui scrivere i byte letti |
| offset | int32_t | Una posizione a base zero in buffer da cui iniziare a scrivere |
| size | int32_t | Il numero di byte da leggere |
ReturnValue
Il numero di byte letti
Vedi anche
- Class NetworkStream
- Namespace System::Net::Sockets
- Library Aspose.Font for C++