infrastructure/native/columnar_decompress_ffi library

Properties

isColumnarNativeDecompressAvailable → bool
True if odbc_columnar_decompress / _free` resolved after loadOdbcLibrary.
no setter

Functions

columnarDecompressNativeInput(Pointer<Uint8> compressed, int compressedLength, int algorithm) → Uint8List?
Decompresses a columnar payload already owned by native memory.
columnarDecompressWithNative(Uint8List compressed, int algorithm) → Uint8List?
algorithm is 1 = zstd, 2 = lz4 (see Rust CompressionType).
isColumnarDecompressZeroCopyViewForTest(Uint8List view) → bool
True when view is a zero-copy native decompress buffer (tests only).
releaseColumnarDecompressZeroCopyViewForTest(Uint8List view) → void
Detaches the zero-copy finalizer and frees native memory (tests only).
resetColumnarDecompressForTest() → void