execWithBuffer method

Uint8List? execWithBuffer(
  1. int op(
    1. Pointer<Uint8> buf,
    2. int bufLen,
    3. Pointer<Uint32> outWritten
    )
)

Re-export of the buffer-allocation helper so capability modules can reuse the same retry/grow logic used internally.

Implementation

Uint8List? execWithBuffer(
  int Function(
    ffi.Pointer<ffi.Uint8> buf,
    int bufLen,
    ffi.Pointer<ffi.Uint32> outWritten,
  ) op,
) =>
    callWithBuffer(op);