There's no standard / native way. I hacked together a way to do binary writes using a DLL a while back, and it's the only function I have ever seen that does anything to binary files. (I assume other people just haven't posted, or worked without it.)
you'll find my functions. You could also, in theory, read a binary file, just keep in mind that Chr(0) does not work very well. (You could write a UUENCODE function, maybe, and read binary "numbers" directly into a UUE'd stream.)
In my case, all my reading could be done beforehand and stored in a LIST OF STRING, so I never completed the reading functions.
Yes, you're straight at the point - I'm TRYING to write UUE encoder using just 4test. The only solution (as I understood) to this problem is to use Win API (dll calls). But may be someone found any workaround?
Kosher regards and so on
I've modified my include file above for binary reading (directly to a UUEd LIST OF STRING). It also compiles out of the box now.
As an aside, it doesn't use any functions that don't ship with Windows. It won't work in Unix, but otherwise it's not dependent on any special installation stuff.
I've been told by many people / customer support reps that it is impossible to operate on a binary file using Silk, and no one seemed to think that would ever change. Hence the include file, and the reliance on kernel32.dll.