numBlocksInFile

fun numBlocksInFile(fileIndex: Int): Int

Number of 16 KiB merkle leaf blocks in file fileIndex: port of file_storage::file_num_blocks. Rounds the file size up to whole blocks.