help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes][Procedures and functions] Reference for unit 'idea' (#fcl)

TIDEAEncryptStream.Read

Read data from the stream

Declaration

Source position: idea.pp line 88

public function TIDEAEncryptStream.Read(

  var Buffer;

  Count: LongInt

):LongInt; override;

Arguments

Buffer

  

Buffer to store read data

Count

  

Number of bytes to read.

Function result

Number of bytes read

Description

Read always raises an EIDEAError exception, because the encryption stream is write-only. To read from an encrypted stream, use the Read method of the TIDEADecryptStream decryption stream.

Errors

An EIDEAError exception is raised when calling this method.

See also

Write

  

Write bytes to the stream to be encrypted

TIDEADecryptStream

  

IDEA Decryption stream.

TIDEADecryptStream.Read

  

Reads data from the stream, decrypting it as needed

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505