[Overview][Types][Classes][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Base64 encoding stream.
Source position: base64.pp line 33
type TBase64EncodingStream = class(TOwnerStream) |
||
protected |
||
TotalBytesProcessed: LongWord; |
||
BytesWritten: LongWord; |
||
Buf: ; |
||
public |
||
constructor Create(); |
|
Create a new instance of the TBase64EncodingStream class. |
destructor Destroy; override; |
|
Remove a TBase64EncodingStream instannce from memory |
function Write(); override; |
|
Write data to the stream. |
function Seek(); override; |
|
Position the stream |
end; |
|
Base64 encoding stream. |
|
| | ||
| | ||
| | ||
TBase64EncodingStream can be used to encode data using the base64 algorithm. At creation time, a destination stream is specified. Any data written to the TBase64EncodingStream instance will be base64 encoded, and subsequently written to the destination stream.
The TBase64EncodingStream stream is a write-only stream. Obviously it is also not seekable. It is meant to be included in a chain of streams.
|
Base64 Decoding stream |
lazarus-ccr.sourceforge.net |