int64 value save by hive after read value is not originally value
- Dominant language
- Dart
- Stars
- 4.4k
- Forks
- 449
- PR merge metrics
- No merged PRs in 30d
Description
**Steps to Reproduce**
int a=3809317795770925130;
* writ a to file by hive
* restart app
*when read a from hive file then hive return 3809317795770925056

**Code sample**
example project
https://github.com/yeleibo/hive_bug

**the reason**
when var type is int64 save by hive ,hive writeInt(int value) will writeDouble(value.toDouble()); This operation will produce an error
**Version**
- Platform: iOS, Android, Mac, Windows, Linux, Web
- Flutter version: [e.g. 1.5.4]
- Hive version: [e.g. 0.5.0]
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.