by gioi · 12y ago · 0 comments
As you may now, there is a difference between kilobytes (KB) and kibibytes (KiB), megabytes (MB) and mibibytes (MiB) et cetera. 1 KiB = 1024 bytes = 1.024 KB.
Please check out https://en.wikipedia.org/wiki/Binary_prefix and fix your library :)