Uint8List i32ToBytes(int value) { return Uint8List(4)..buffer.asByteData().setUint32(0, value, Endian.big); }