Search code examples
cfile-iocompressionbignum

doing math on files


I am writing a program in C for file compression. The method i am trying to use involves doing math on the file as if it were one long number. Can anyone recommend a bignum library that would not try to do all of that in ram, but rather let me do math with file pointers. any help would be appreciated, thanks in advance.


Solution

  • I doubt such a library exists. You could try mmap()ing the files in memory and see if you can do it that way.