infrastructure/native/bindings/ffi_buffer_helper library

Constants

initialBufferSize → const int
Initial buffer size for FFI buffer allocations (64 KB).
maxBufferSize → const int
Maximum buffer size for FFI buffer allocations (16 MB).

Functions

callWithBuffer(BufferCallback fn, {int? maxSize}) Uint8List?
Calls a buffer callback function with dynamically sized buffers.

Typedefs

BufferCallback = int Function(Pointer<Uint8> buf, int bufLen, Pointer<Uint32> outWritten)
Callback function type for FFI buffer operations.