We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c9365f commit 43c7500Copy full SHA for 43c7500
objectbox/lib/src/native/bindings/flatbuffers.dart
@@ -109,7 +109,7 @@ class Allocator extends fb.Allocator {
109
} catch (_) {
110
// fall back if we can't load a native memset()
111
fbMemset = (Pointer<Uint8> ptr, int byte, int size) =>
112
- ptr.cast<Uint8>().asTypedList(size).fillRange(0, size, 0);
+ ptr.cast<Uint8>().asTypedList(size).fillRange(0, size, byte);
113
}
114
} else {
115
fbMemset = DynamicLibrary.process()
0 commit comments