Encoded

data class Encoded(val bytes: ByteArray, val tileScale: Float, val tileOffset: Float)

Bytes ready for blob storage plus the per-tile scale/offset the read path needs to recover the original sample values. Persist tileScale + tileOffset alongside bytes in whatever ancillary store the platform uses (IDB object store / iOS sidecar).

Constructors

Link copied to clipboard
constructor(bytes: ByteArray, tileScale: Float, tileOffset: Float)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard