Chapter
Previous
Next
|
|
|
|
len = n_to_b(unsigned char *buf, N a) -- convert a to bytes, most significant byte first. Returns number of bytes written to buf. buf should be large enough to hold sizeof(NN) bytes. (Note that number is handled as unsigned, negative value converts to sizeof(NN) bytes.) (XXX check portablility when converting to not-16/32 bit machine)
#include "mrsa.h"