[Overview][Classes] Reference for unit 'base64' (#fcl)

TBase64EncodingStream

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Base64 encoding stream.

Declaration

Source position: base64.pp line 28

type TBase64EncodingStream = class(TStream)

public

  constructor Create();

  

Create a new instance of the TBase64EncodingStreamclass.

  destructor Destroy; override;

  

Remove a TBase64EncodingStreaminstannce from memory

  function Read(); override;

  

Read data from the stream

  function Write(); override;

  

Write data to the stream.

  function Seek(); override;

  

Position the stream

end;

Inheritance

TBase64EncodingStream

  

Base64 encoding stream.

|

TStream

|

TObject

Description

TBase64EncodingStreamcan be used to encode data using the base64 algorithm. At creation time, a destination stream is specified. Any data written to the TBase64EncodingStreaminstance will be base64 encoded, and subsequently written to the destination stream.

The TBase64EncodingStreamstream is a write-only stream. Obviously it is also not seekable. It is meant to be included in a chain of streams.

See also

TBase64DecodingStream

  

Base64 Decoding stream