Compression that can be used with mpz_*_raw

Torbjorn Granlund tg at
Wed Jun 16 01:01:53 CEST 2004

David McKen <dmlmcken at> writes:

  >>It seems there is an extra byte written after every number,
  >>this byte has the value of '0A' in hex.
  >No.  If that's happening it's a bug.

After each number you execute this statement:

That explains the 0xA you're seeing in the output.  In ASCII,
newline is encoded as the value 10 (A in hex).


More information about the gmp-discuss mailing list