EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Function Base64Encode

Also by EldoS: RawDisk
Access locked and protected files in Windows, read and write disks and partitions and more.
Posted: 10/19/2009 10:22:43
by David MICHEL (Standard support level)
Joined: 09/23/2009
Posts: 48


How to implement the Base64Encode method with an input and output file ?

function Base64Encode(InBuffer : pointer; InSize : integer; OutBuffer : pointer;
var OutSize : integer; WrapLines : boolean = true) : boolean;


Sincerely yours,
Posted: 10/19/2009 11:06:34
by Eugene Mayevski (Team)

In general, those functions are not intended for public use. If you want to use them anyway, you need to load the data from TFileStream into memory block, then pass it to Base64Encode, then save the resulting memory block to the output file.

Sincerely yours
Eugene Mayevski
Posted: 10/20/2009 03:12:09
by David MICHEL (Standard support level)
Joined: 09/23/2009
Posts: 48

I need to code data in base64 by removing the return to the line after 64 bytes by putting the value
WrapLines = false

Sincerely yours,



Topic viewed 1007 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!