SECCryptoFile::Write

voidSECCryptoFile::Write(const void FAR *pBuf, UINTnCount)

Encrypts and then writes a number of characters to the file. The original data buffer is overwritten with the transformed data.

Defined in: CRYPTFIL.CPP

Return Value

void

Parameters

pBuf

A pointer to the user-supplied buffer that contains the data to be written to the file.

nCount

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

Comments

Writes data from a buffer to the file associated with the SECCryptoFile object. Write throws an exception in response to several conditions including the disk-full condition.

See Also

SECCryptoFile  WriteHuge

Read  ReadHuge