Is there a way to convert an mpz_t to a byte array? I'm wondering because if I want to use gmp to communicate values over a network I want to send it as a byte array. Thanks.