Properly handle strings with internal nul
The strings from NaCl can contain nul characters inside the string and are not nul terminated. Using ffi.buffer with an explict size will prevent issues here.
Please register or sign in to comment
The strings from NaCl can contain nul characters inside the string and are not nul terminated. Using ffi.buffer with an explict size will prevent issues here.