| 27 | fn get_${e}(${E}) -> ${l} { |
| 28 | return get_${e}ByIndices(${I(L)}); |
| 29 | }`})(),D=(...E)=>{if(E.length!==s)throw new Error(`indices length must be ${s}`);let L=E.map(f).join(",");return s===0?B("0u"):s===1?B(L[0]):(m.get=!0,m.getByIndices=!0,m.indicesToOffset=!0,`get_${e}(${L})`)},Z=E=>s<2?B(E):(m.getByIndices=!0,m.indicesToOffset=!0,`get_${e}ByIndices(${E})`),R=s<2?"":` |
| 30 | fn set_${e}ByIndices(indices: ${p.indices}, value: ${l}) { |
| 31 | ${G(`i2o_${e}(indices)`,"value")} |
| 32 | }`,Q=s<2?"":(()=>{let E=a.map(oe=>`d${oe}: u32`).join(", "),L=a.map(oe=>`d${oe}`).join(", ");return` |