14 Oct 2020 14 Oct '20
Second, why use bytes units? Not every integer value measures the amount of memory. If you multiply 2 bytes by 3 bytes, do you get 6 square bytes?
If a code executes m_bytes * n_bytes, it's probably a logic error.
If all values have a unit in a programming language, it might help us to check such errors.