I am trying to convert a generated CSG tree to a byte array so I can upload it to my hardware component. I am trying to understand the encoding and decoding aspect of it. I