System::Security::Cryptography::CryptoStream::Read method

CryptoStream::Read(const ArrayPtr<uint8_t>&, int32_t, int32_t) method

Reads data from stream.

int32_t System::Security::Cryptography::CryptoStream::Read(const ArrayPtr<uint8_t> &buffer, int32_t offset, int32_t count) override
ParameterTypeDescription
bufferconst ArrayPtr<uint8_t>&Destination data buffer.
offsetint32_tOffset in destination buffer.
countint32_tNumber of bytes to read.

ReturnValue

Number of bytes being read actually.

See Also

CryptoStream::Read(const System::Details::ArrayView<uint8_t>&, int32_t, int32_t) method

Reads data from stream.

int32_t System::Security::Cryptography::CryptoStream::Read(const System::Details::ArrayView<uint8_t> &buffer, int32_t offset, int32_t count) override
ParameterTypeDescription
bufferconst System::Details::ArrayView<uint8_t>&Destination data buffer.
offsetint32_tOffset in destination buffer.
countint32_tNumber of bytes to read.

ReturnValue

Number of bytes being read actually.

See Also