Getting text length from mobi header.
Is there a simple way to get the text length from a .mobi file's header?
Eg. Seek to file position n, read 4 byes as big endian.
I've been trying to work this out from the Calibre source code, but not having any experiance of Python code and the source code having very few comments, this is proving to be rather hard.
If anyone knows of any C/C++ code which reads a .mobi file header that would be very helpful.