preferTransientFfiBufferForParams function

bool preferTransientFfiBufferForParams(
  1. Uint8List params
)

When true, skip the reusable scratch pool so large sync param queries can return zero-copy result views without an extra scratch→owned copy.

Implementation

bool preferTransientFfiBufferForParams(Uint8List params) =>
    params.length >= zeroCopyResultThresholdBytes;