AsyncFileNative extension

on

Methods

readAllNative({NativeBufferPool? pool}) → Future<NativeBuffer>

Available on AsyncFile, provided by the AsyncFileNative extension

Reads the whole file into a pooled native buffer.
readIntoNative(int offset, NativeBuffer buffer) → Future<int>

Available on AsyncFile, provided by the AsyncFileNative extension

Reads into a caller-owned native buffer without allocating a Dart buffer.
writeFromNative(int offset, NativeBuffer buffer) → Future<int>

Available on AsyncFile, provided by the AsyncFileNative extension

Writes from a caller-owned native buffer.