The Daily Click ::. Forums ::. Klik Coding Help ::. Binary Object
 

Post Reply  Post Oekaki 
 

Posted By Message

Solgryn

Solgryn dot org

Registered
  20/12/2008
Points
  12572

GOTW Winner!VIP MemberWii OwnerIt's-a me, Mario!The Cake is a LieGOTM 2ND PLACE! - APRIL 2009GOTM 2ND PLACE - JUNE 2009PS3 OwnerKlikCast #15 Compo Winner!LOL Sign
You've Been Circy'd!GOTM WINNER - JANUARY 2010I am an April FoolGOTW MARCH 2010 WINNER!Santa Hat
30th July, 2010 at 10:43:03 -

How does it work? Can you save stuff like .png files and music etc to it?

Knytt stories uses this I think, to save all this stuff.

Thx in advance =

 
www.Solgryn.org

Image

Cecilectomy

noPE

Registered
  19/03/2005
Points
  305

Has Donated, Thank You!VIP MemberWeekly Picture Me This Winner!Cardboard BoxGhostbuster!Pokemon Ball!ComputerBox RedSanta HatSnowman
I am an April Fool
30th July, 2010 at 10:49:20 -

the binary object loads the binary data of a file. it can manipulate the binary data, encrypt/decrypt, and compress/decompress the file as well as save it back to a file.

you can do some pretty cool stuff with the binary object coupled with the directory packer object to create single files, that hold multiple directories and files, with encryption and compression.

 
n/a

Solgryn

Solgryn dot org

Registered
  20/12/2008
Points
  12572

GOTW Winner!VIP MemberWii OwnerIt's-a me, Mario!The Cake is a LieGOTM 2ND PLACE! - APRIL 2009GOTM 2ND PLACE - JUNE 2009PS3 OwnerKlikCast #15 Compo Winner!LOL Sign
You've Been Circy'd!GOTM WINNER - JANUARY 2010I am an April FoolGOTW MARCH 2010 WINNER!Santa Hat
30th July, 2010 at 11:06:18 -

Yea thx how do I use it? Or is the dynamic array object better?

I think I saved a file to a .bin but can't figure out how to load it

Edited by Solgryn

 
www.Solgryn.org

Image

Cecilectomy

noPE

Registered
  19/03/2005
Points
  305

Has Donated, Thank You!VIP MemberWeekly Picture Me This Winner!Cardboard BoxGhostbuster!Pokemon Ball!ComputerBox RedSanta HatSnowman
I am an April Fool
30th July, 2010 at 12:48:00 -

um... the dynamic array object is nothing like the binary object afaik.

just use the "load binary from file" function of the binary object (or better yet, use the binary quickload object. it loads files into the binary object much much faster.), then you can modify, encrypt/decrypt, compress/decompress, and save the data to a file.

 
n/a
   

Post Reply



 



Advertisement

Worth A Click