Sign in Join
FPDoc Onlineexperiment

TBase64DecodingStream.Read function

Member of TBase64DecodingStreampublicIn unit Base64

Read and decrypt data from the source stream.

Declaration

pascal
function Read(var Buffer; Count: LongInt): LongInt; override

Arguments

Buffer

Buffer to store data in.

Count

Maximum number of bytes to store in buffer.

Function result

Number of bytes stored in buffer.

Description

Read reads encrypted data from the source stream and stores this data in Buffer. At most Count bytes will be stored in the buffer, but more bytes will be read from the source stream: the encoding algorithm multiplies the number of bytes.

The function returns the number of bytes stored in the buffer.

Errors

If an error occurs during the read from the source stream, an exception may occur.

See also

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