Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Freepascal and binary files? (Developers)

posted by marcov, 22.05.2020, 13:17

>
> OK, it seems to be complicated.
> Maybe the most elegant solution would be some encoder/decoder which can
> convert Binary data into 7-bit ASCII set (like email algorithms like
> BASE64?) and such 7-bit data save like PCHAR or ANSISTRING strings.

Look at fpc/packages/fcl-base/examples/b64enc.pp followed by data2inc to encoding it as string.

 

Complete thread:

Back to the forum
Board view  Mix view
22749 Postings in 2119 Threads, 402 registered users (1 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum