in src/splats/SplatvData.ts [12:22]
constructor(vertexCount: number, positions: Float32Array, data: Uint32Array, width: number, height: number) {
this._vertexCount = vertexCount;
this._positions = positions;
this._data = data;
this._width = width;
this._height = height;
this.serialize = () => {
return new Uint8Array(this._data.buffer);
};
}