Álvaro GR

Results 2 issues of Álvaro GR

Changed memcpy() to bytes_to_num(), as used elsewhere. Some code refactoring. This fixes issue #38 .

I implemented the new option following the specs from the comments in the help section. I've been using that code for a while without problems.