Elevation Decoder
Functions
Public decodeBuffer for cache-only readers that fetch their own Buffer (e.g. GpkgCachedElevationSourceFactory.readCachedTileImage) and need the same Buffer -> ShortArray conversion the standard decode path applies.
Public delegate for decoding raw network bytes by elevation MIME. Used by cache factories that fetch their own bytes (bypassing decodeTileSource) but still want the standard format-dispatch table. No postprocessor — the caller is responsible for any side-effects (cache write-through, etc.) it wants on the decoded buffer.
Decode a TIFF/GeoTIFF blob into a ShortBuffer. Uses the cross-platform GeoTiffReader (common code shared with JS / iOS); the prior mil.nga.tiff decode path was JVM-only and forced every platform to maintain its own TIFF parser. Encoding still goes through mil.nga.tiff via encodeTiff - moving that to common is a follow-up.
Serialise a tileWidth × tileHeight FLOAT32 elevation grid as a TIFF byte array. Uses the cross-platform GeoTiffWriter (no mil.nga.tiff dependency); produces a baseline single-strip uncompressed FLOAT32 grayscale TIFF that round-trips through GeoTiffReader / any standard TIFF library. Used by GpkgElevationDataFactory to store elevation tiles in the GeoPackage cache.