Jump to content
Deye

Binary to array

Recommended Posts

Deye

Hi,

I would like to to place a return of $BinarydData into the script

Local $txt = @ScriptDir &"\test.txt"
Local $read = FileOpen($txt, 16)
Local $BinarydData = FileRead($read)

So then i could use something like :

_FileReadToArray($BinarydData, $FileArray)

What might be the clearest way of doing so ..

TIA

Share this post


Link to post
Share on other sites
Deye

@Subz

The point is reading the file to array but from within the script (from data) instead of needing to create and write the array in plain text , also avoiding fileinstall ..

thanks

Share this post


Link to post
Share on other sites
Subz

Resources UDF by Zedna.

 

  • Like 1

Share this post


Link to post
Share on other sites
Deye

resolved to using : ResourcesEx.au3

 

 

Edited by Deye

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×