Merge branch 'experimental' of jsrobson10/binary-data-format into master
This commit is contained in:
commit
9effbc40c2
15
README.md
15
README.md
|
@ -1,6 +1,15 @@
|
||||||
# Binary Data Format
|
# Binary Data Format
|
||||||
|
|
||||||
### Overview:
|
### Links
|
||||||
|
|
||||||
|
- <a href="#overview">Overview</a>
|
||||||
|
- <a href="#data-types">Data types</a>
|
||||||
|
- <a href="#creating-an-object">Creating an object</a>
|
||||||
|
- <a href="#arrays">Arrays</a>
|
||||||
|
- <a href="#named-lists">Named lists</a>
|
||||||
|
- <a href="#example-bdf-program">Example BDF program</a>
|
||||||
|
|
||||||
|
### Overview
|
||||||
|
|
||||||
Binary Data Format (or BDF) is designed to store data in a tag-like binary structure,
|
Binary Data Format (or BDF) is designed to store data in a tag-like binary structure,
|
||||||
like Notch's NBT format, but also open source and free like JSON. The format is
|
like Notch's NBT format, but also open source and free like JSON. The format is
|
||||||
|
@ -9,7 +18,7 @@ be fast and work well on 32-bit systems, but have a maximum size of 2 GB.
|
||||||
BDF allows human readable serialization to see what is going on for debugging
|
BDF allows human readable serialization to see what is going on for debugging
|
||||||
purposes, but it currently can't parse the result to an object.
|
purposes, but it currently can't parse the result to an object.
|
||||||
|
|
||||||
### Datatypes:
|
### Data types
|
||||||
|
|
||||||
- Boolean
|
- Boolean
|
||||||
- Integer
|
- Integer
|
||||||
|
@ -120,7 +129,7 @@ for(BdfObject o : array)
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### Named Lists
|
### Named lists
|
||||||
|
|
||||||
Named lists can be used to store data under strings,
|
Named lists can be used to store data under strings,
|
||||||
to be used like variables in a program. A named list
|
to be used like variables in a program. A named list
|
||||||
|
|
Loading…
Reference in New Issue