Serialize a paged cluster mesh to a self-describing ArrayBuffer.
Pass opts.compressPage (e.g. node zlib.gzipSync) to compress each page
independently — Range-streamable (unlike a whole-file gzip) but decompressed
on demand by ClusterStreamSource (the sync deserializePagedCluster
cannot read a compressed asset). The metadata region stays uncompressed so the
runtime can Range-fetch it directly.
Serialize a paged cluster mesh to a self-describing ArrayBuffer.
Pass
opts.compressPage(e.g. nodezlib.gzipSync) to compress each page independently — Range-streamable (unlike a whole-file gzip) but decompressed on demand by ClusterStreamSource (the sync deserializePagedCluster cannot read a compressed asset). The metadata region stays uncompressed so the runtime can Range-fetch it directly.