Patrick Bösch
2008-07-30 11:21:21 UTC
hello,
I've a problem with the base64 decoding routine of indy. I'm using
Indy9.0.19 for Delphi6. With the following class function I decode the
string, which came over a soap service.
class function TGFCoderBase64.Base64Decode(const AStr: string): string;
var
xDecoder : TGFBase64Decoder;
begin
Result := '';
try
xDecoder := TGFBase64Decoder.Create;
try
Result := xDecoder.DecodeString(AStr);
finally
xDecoder.Free;
end;
except
on e: ExceptionGF do
raise EGFException.Create(ClassName + '.Base64Decode', e);
end;
end;
A file containing an encoded pdf example is located
http://klimt.printart.ch:8080/test/test1.uue
Is there something wrong in my code?
best regards
Patrick
I've a problem with the base64 decoding routine of indy. I'm using
Indy9.0.19 for Delphi6. With the following class function I decode the
string, which came over a soap service.
class function TGFCoderBase64.Base64Decode(const AStr: string): string;
var
xDecoder : TGFBase64Decoder;
begin
Result := '';
try
xDecoder := TGFBase64Decoder.Create;
try
Result := xDecoder.DecodeString(AStr);
finally
xDecoder.Free;
end;
except
on e: ExceptionGF do
raise EGFException.Create(ClassName + '.Base64Decode', e);
end;
end;
A file containing an encoded pdf example is located
http://klimt.printart.ch:8080/test/test1.uue
Is there something wrong in my code?
best regards
Patrick