Sign in Join
FPDoc Onlineexperiment

TIDEAEncryptStream.Write function

Member of TIDEAEncryptStreampublicIn unit Idea

Write bytes to the stream to be encrypted.

Declaration

pascal
function Write(const Buffer; Count: LongInt): LongInt; override

Arguments

Buffer

Buffer containing data to be written.

Count

Number of bytes to write.

Function result

Number of bytes actually written.

Description

Write writes Count bytes from Buffer to the stream, encrypting the bytes as they are written (encryption in blocks of 8 bytes).

Errors

If an error occurs writing to the destination stream, an error may occur.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.