Euphoria Serialization Library

new topic     » topic index » view thread      » older message » newer message

I've just uploaded a new library to my website: Euphoria Serialization Library.
With this library, you can serialize and deserialize sequences.

Serializing is turning a sequence into bytes; deserializing is re-creating the
sequence from these bytes.

You can use this, if you want to write a sequence to a binary file to read it
back later.
You could also use it to send a sequence of data from 1 running application to
another: the first application serializes a sequence of data and passes the
memory address (=atom) to the second application, which deserializes the data
back into a sequence.

Different methods are used to store the values efficiently:
Sequences with only 0 and 1 as values will be saved as bytes where each byte is
8 values.
Sequences with values between 0 and 255 will be saved as bytes (1 byte per
element). This will probably be used a lot, since most strings are of this type.
...

--
tommy online: http://users.pandora.be/tommycarlier
Euphoria Message Board: http://uboard.proboards32.com

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu