Internet Direct (Indy) Version 9.0.1 Beta
|
procedure DecodeToStream(AIn: string; ADest: TStream); override;
DecodeToStream can raise an EIdException with the constant message RSUnevenSizeInDecodeStream when the length of the encoded data in AIn is not a multiple of 4.
DecodeToStream reads 4 bytes of data from AIn and calls DecodeUnit until all contents in the encoded data have been handled. An individual byte in the 3-byte un-encoded value and it's preceding byte will be omitted when the byte value is equal to FillChar.