decode
fun decode(bytes: ByteArray, isFloat: Boolean, tileScale: Float, tileOffset: Float): ElevationTileBuffer
Decode a stored tile. Returns either a ShortBuffer-equivalent (for unscaled Int16 storage) or a FloatBuffer-equivalent (for Float32 storage or Int16 storage with non-trivial scale/offset where applying them would lose precision).
Callers convert to the ShortArray render representation at the boundary (typically via the platform's elevation decoder).