Uint8List i64ToBytes(int value) { return Uint8List(8)..buffer.asByteData().setUint64(0, value, Endian.big); }