SECCryptoFile::ReadHuge

UINTSECCryptoFile::ReadHuge(void FAR *pBuf, UINTnCount)

Reads a number of bytes from the file and decrypts them. Semantically equivalent to Read, in Win32.

Defined in: CRYPTFIL.CPP

Return Value

The number of bytes transferred to the buffer. Note that for all CFile-derived objects, the return value can be less than nCount if the end of file was reached.

Parameters

pBuf

Pointer to the user-supplied buffer that is to receive the data read from the file.

nCount

The maximum number of bytes to be read from the file. Note that an SECCryptoFile is always a binary file, so a CR/LF pair will always be read or written as two bytes.

Comments

Reads data into a buffer from the file associated with the SECCryptoFile object.

Semantically equivalent to Read, in Win32.

See Also

SECCryptoFile  Read

Write  WriteHuge