readIntoNative method
Reads into a caller-owned native buffer without allocating a Dart buffer.
Implementation
Future<int> readIntoNative(int offset, NativeBuffer buffer) =>
readAt(offset, buffer.readBuf());
Reads into a caller-owned native buffer without allocating a Dart buffer.
Future<int> readIntoNative(int offset, NativeBuffer buffer) =>
readAt(offset, buffer.readBuf());