Skip to content

TBase64DecodingStream

Base64 Decoding stream.

Declaration

Source position: base64.pp line 91

type

  TBase64DecodingStream = class(TOwnerStream)
  public
    constructor Create(ASource: TStream);
    constructor Create(ASource: TStream; AMode: TBase64DecodingMode);
    procedure Reset;
    function Read : LongInt;
    function Seek : LongInt;
    property EOF: Boolean; {r}
    property Mode: TBase64DecodingMode; {rw}
  end;

Description

TBase64DecodingStream can be used to read data from a stream (the source stream) that contains Base64 encoded data. The data is read and decoded on-the-fly.

The decoding stream is read-only, and provides a limited forward-seek capability.

Properties

Member Visibility Description
EOF read only public
Mode public Decoding mode.
See all Properties

Methods

Member Visibility Description
Create public Create a new instance of the TBase64DecodingStream class.
Read public Read and decrypt data from the source stream.
Reset public Reset the stream.
Seek public Set stream position.
See all Methods

See also

Name Description
TBase64EncodingStream Base64 encoding stream.