Declaration¶
Source position: ascii85.pp line 51
type
TASCII85DecoderStream = class(TOwnerStream)
published
constructor Create;
procedure Decode;
procedure Close;
function ClosedP : Boolean;
property BExpectBoundary: Boolean; {rw}
public
destructor Destroy;
function Read : LongInt;
function Seek(aOffset: LongInt; aOrigin: Word) : LongInt;
function Seek(const aOffset: Int64; aOrigin: TSeekOrigin) : Int64; overload;
end;
Inheritance¶
Description¶
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.
Properties¶
| Member | Visibility | Description |
|---|---|---|
| BExpectBoundary | published | Expect ~ character. |
Methods¶
| Member | Visibility | Description |
|---|---|---|
| Close | published | Close decoder. |
| ClosedP | published | Check if the state is correct. |
| Create | published | Create new ASCII 85 decoder stream. |
| Decode | published | Decode source byte. |
| Destroy | public | Clean up instance. |
| Read | public | Read data from stream. |
| Seek | public | Set stream position. |