Reimplementation of Pijul in C, for education, fun and absolutely no profit

bincode: change signature of getstr to receive str destination

The bincode component should not be in charge of allocating any memory, and the only function doing so was bincode_getstr(). It is essentially like bincode_getbytes() but for the signedness of the type and the placement of the terminating zero byte at the end of the string.

Changing _getstr() to require a destination buffer allows removing an import of stdlib.h as well.

Created by  laumann  on October 4, 2023
7NQTS36DJ6GRXMZDNMORKPWF7VBESQY4DH2XFI7VI2A2JVMFIK5AC
Change contents