GetAvailableBlocksLong () * getBlockSizeLong () VS getAvailableBytes ()

[EDIT] I made a silly mistake while testing. I asked a question here, not knowing about it.

Answer: they are both the same. But I leave my post here for others.

What is the difference between getAvailableBlocksLong() * getBlockSizeLong()and getAvailableBytes()?

I tested myself and got a really strange result in Genymotion.

Values ​​from getAvailableBlocksLong() * getBlockSizeLong()and are getAvailableBytes()different!

I literally do not understand what is happening here.

Does he have something to do only with Genymotion? Should I just use getAvailableBytes()in most cases?

+4
source share
1 answer

, momery .

+1

Source: https://habr.com/ru/post/1628738/


All Articles