Trying to write an RBXM Library

I’m trying to write an RBXM library for Roblox developers that can read and output RBXM files (either as raw binary or base64)

However, there’s a few things in the specification that I’m scratching my head over

These features are

  • zstd decompression implementation (i save using lz4 though my lz4 compression library is wacky)
  • byte interleaving

Any help would be appreciated!

What exactly do you need help with? Understanding byte interleaving? Do you need your code reviewed?