[Overview][Types][Classes][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
ASCII 85 decoder stream.
Source position: ascii85.pp line 45
type TASCII85DecoderStream = class(TOwnerStream) |
||
published |
||
constructor Create(); |
|
Create new ASCII 85 decoder stream |
procedure Decode(); |
|
Decode source byte |
procedure Close; |
|
Close decoder |
function ClosedP; |
|
Check if the state is correct |
property BExpectBoundary: Boolean; [rw] |
|
Expect ~ character |
protected |
||
function GetPosition; override; |
||
public |
||
destructor Destroy; override; |
|
Clean up instance |
function Read(); override; |
|
Read data from stream |
function Seek(); |
|
Set stream position |
end; |
|
ASCII 85 decoder stream. |
|
| | ||
| | ||
| | ||
TASCII85DecoderStream is a read-only stream: it takes an input stream with ASCII 85 encoded data, and decodes the data as it is read. To this end, it overrides the TSTream.Read method.
The stream cannot be written to, trying to write to the stream will result in an exception.
lazarus-ccr.sourceforge.net |