Releases: Lunaji/xanlib
Releases · Lunaji/xanlib
v0.2.0
The serialisation/deserialisation core of the library has been overhauled to work with bytes-like, rather than file-like, objects.
- All of the classes can be cast to
bytes
- Most of the classes now feature a
frombuffer
method. This opens up new possibilities of reading these structures from memory, such as files uncompressed on the fly, memory-mapped files, bytes copied over from a hex editor, and more. Vertex
andFace
now expose a C-style struct as a class attribute. Its methods can be used to pack or unpack data directly into/from other libraries' classes, such asnumpy
arrays and so on.