Avatar of Massimiliano
Flag for Italy

asked on 

How to Encode a Stream base 64

Hi, I'm trying to encode base64 a Stream with delphi (10.3.3)
I use the following code:
TNetEncoding.Base64.Encode(BlobMemStream, Encoded64MemStream);

Open in new window

But Encoded64MemStream is Empty
content of BlobMemStream is correct if i save to file, I can see the correct content
Someone could help me?

Avatar of undefined
Last Comment
Lukasz Zielinski

8/22/2022 - Mon