Binary Data Tree Library

Hi everyone.

I made a small library that can be used to store binary data in a tree-like manner.
It’s a bit like XML, but its not in clear-text, it stores the data in a binary form.
The library can be used for really every kind of information.

The library is around 350 Kilobyte big and the sourcecode+javadoc is included.
A small Test class is also existant.

Download:
Dropbox Download (Removed due to traffic)
Github Project

Default Implementation Type List:


// Collection Types
Node Compound
Node List
Long Node List
Node Table  //(This is by far the most complex Node!)

// Primitive Types
Boolean
Signed Byte
Unsigned Byte
Signed Short
Unsigned Short (Char)
Integer
Float
Double
Long

// Array Primitive Types
String
Small Byte Array (Max 64 KB)
Large Byte Array (Max 2 GB)
Int Array
Float Array
Double Array
Long Array
Big Integer // Yes, this is a Array Type.
Boolean Array
Signed Short Array
String Array

// Vectors
2 Component Float Vector
2 Component Double Vector
3 Component Float Vector
3 Component Double Vector
4 Component Float Vector
4 Component Double Vector

// Complex Types
RGBA Image


If you find erros/bugs please tell me.
Suggestions and critism are welcome.

This Project is published under the Terms of the BSD-License.

  • Longor1996

PS: If you find any grammatical erros in this post, please tell me! I am still learning english.

Depends what you mean by “credit the author”, but if you just mean keeping a copyright notice around, the BSD license should be good enough.

See http://opensource.org/licenses for more. I’d stick with one of those.

Thank you!
That’s exactly what i wanted as a licence.

One last question though:
Do i have to put my real name into the copyright notice?

  • Longor1996

Edit:
Uploaded Sourcecode to GitHub.