Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extract length validation and conversion function into a templated fu…
…nction Since there's no reasonable way for us to figure out what the type of stat::st_size is on Android NDK without resorting to C++11 auto / non-standard decltype extensions, we're going to resort to a templated function that can deduce the length type. The rest of the validation and conversion logic is preserved as is.
- Loading branch information