Internet Direct (Indy) Version 9.0.2 Beta
TIdDecoder.DecodeToStream
Specifies the method for decoding String values to a Stream.

procedure DecodeToStream(AIn: string; ADest: TStream); virtual; abstract;
Parameters
AIn: string
Value to be decoded.

ADest: TStream
Stream that is the destination for the decoded value.

Description
DecodeToStream is an abstract virtual method in TIdDecoder that specifies the coder method used to decode the String value in AIn to the TStream destination in ADest. Descendant classes, like TIdDecoderQuotedPrintable, must reimplement DecodeToStream to use a specific decoding algorithm.

Use DecodeToString to provide decoding operations that return a String value.