SDK JS
    Preparing search index...

    Type Alias RiptDataType

    RiptDataType:
        | "Int8"
        | "Int16"
        | "Int32"
        | "Int64"
        | "UInt8"
        | "UInt16"
        | "UInt32"
        | "UInt64"
        | "Float32"
        | "Float64"
        | "Float16"
        | "BFloat16"
        | "UInt4"
        | "Int4"

    RIPT header data-type name (the codec's DataType) — the element type of the decoded RiptRaster.values.

    On decode each header type maps to the JavaScript typed array of RiptRaster.values, per the vendored wasm: Int8/Int4Int8Array, UInt8/UInt4Uint8Array, Int16Int16Array, UInt16/Float16/BFloat16Uint16Array (raw 16-bit element bits, not widened to float), Int32Int32Array, UInt32Uint32Array, Int64/UInt64Float64Array (JavaScript has no 64-bit integer typed arrays), Float32Float32Array, Float64Float64Array. The dtype string still reports the encoded type, so a consumer can reinterpret the raw bits where the carrier is widened.