This library implements at least three binary formats, the most basic is called RootedDataFormat (RDF for short), then follows the Book format and lastly the ExtendedBook format.
RootedData format
The base data format specs can be found here.
Book format
The Book format is a class that inherits from the main Tree class, this means that you can use it like the Tree class or you can use its new methods to handle a Book file.
This class implements various interfaces that enables functionalities like the attachments system or the properties system, also, in contrast to the second version, this version do not make use of the 'B/' or 'P/' prefixes, because of the RootedData format.
The majority of the new API is very similar to the old, so, you won't have to make a lot of changes to adapt to the new format.
ExtendedBook format
This format hasn't changed much from the second version, so, expect to have the exact same API from the second version.
This format implements methods to encrypt and compress a book data chunk into a new data type that overrides the load and save methods of the main book format, in a nutshell, you can use this format just like the book format API, but, with the added advantage of the encryption and compression system.