Skip to content

TBase64DecodingStream.Read

Read and decrypt data from the source stream.

Declaration

Source position: base64.pp line 110

public 
function TBase64DecodingStream.Read(var Buffer; Count: LongInt)
                                    : LongInt;  override;

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

Name Description
TBase64DecodingStream.Seek Set stream position.
TStream.Read