diff --git a/lib/src/utils/store_uint8list_extension.dart b/lib/src/utils/store_uint8list_extension.dart index c96163a..c3fcf1c 100644 --- a/lib/src/utils/store_uint8list_extension.dart +++ b/lib/src/utils/store_uint8list_extension.dart @@ -4,8 +4,8 @@ extension StoreToList on Uint8List { void store32(int index, int value) { this[index] = value; this[index + 1] = (value >> 8); - this[index + 2] = (value >> 8); - this[index + 3] = (value >> 8); + this[index + 2] = (value >> 16); + this[index + 3] = (value >> 24); } void store16(int index, int value) {