Read()

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

Arguments

ParameterTypeDescription
bufferconst ArrayPtr<uint8_t>&Destination data buffer.
offsetint32_tOffset in destination buffer.
countint32_tNumber of bytes to read.

Return Value

Number of bytes being read actually.

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

Arguments

ParameterTypeDescription
bufferconst System::Details::ArrayView<uint8_t>&Destination data buffer.
offsetint32_tOffset in destination buffer.
countint32_tNumber of bytes to read.

Return Value

Number of bytes being read actually.

See Also