[Overview][Types][Classes][Procedures and functions][Index] | Reference for unit 'base64' (#fcl)

# TBase64DecodingStream

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

Base64 Decoding stream

## Declaration

Source position: base64.pp line 62

`type TBase64DecodingStream = class(TOwnerStream)`
`protected`
`CurPos: Int64;`
`DecodedSize: Int64;`
`ReadBase64ByteCount: Int64;`
`Buf: ;`
`BufPos: Integer;`
`FEOF: Boolean;`
`public`
`procedure Create();` |  | Create a new instance of the TBase64DecodingStream class
`procedure Reset;` |  | Reset the stream
`function Read(); override;` |  | Read and decrypt data from the source stream
`function Seek(); override;` |  | Set stream position.
`property EOF: Boolean; [r]` |  |
`property Mode: TBase64DecodingMode; [rw]` |  | Decoding mode
`end;`

## Inheritance

`TBase64DecodingStream` |  | Base64 Decoding stream
`TOwnerStream`
`TStream`
`TObject`

## 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.

## See also

TBase64EncodingStream |  | Base64 encoding stream.

The latest version of this document can be found at lazarus-ccr.sourceforge.net .