Closed Scraft closed 3 years ago
Use i64 instead of i32 for offset/len to handle > 2GB data. Calculate end (from start and len) in usize space (rather than attempt to cast result only).
Finally found my sandbox repo for tests, have not found any regression, looks good!
Use i64 instead of i32 for offset/len to handle > 2GB data. Calculate end (from start and len) in usize space (rather than attempt to cast result only).