So, for a little project I needed to compress a bit of data, and @cancel and I made up a spec that should be possible to implemented on small systems without too much headaches.

I wrote a bit of documentation for it, and I was wondering if anyone wanted to put the docs to the test and see if they could write a toy implementation in a language of their choice. It'd help me see if there's things missing in the docs.

http://wiki.xxiivv.com/site/ulz_format

So, think of it as a little puzzle.

XXIIVV — ulz format

@neauoire @cancel

Have you considered including 'magic-bytes' with your ULZ file format?

...

The usage of it would be —

If someone doesn't know what the file-name is, they could still determine the type of the file.

...

It could be something as simple as the first by 7 bytes of the file format being:

55 4C 5A 2F 31 0D 0A

Which, if interpreted as ASCII or Unicode UTF-8 would be:

"ULZ/1\r\n"

...

Here are magic bytes for other file formats:

https://en.wikipedia.org/wiki/List_of_file_signatures

.

List of file signatures - Wikipedia

@reiver @cancel it will be used as parts of other formats, which might have identifiers yes :)