Make read function copyless, i.e. point cstring, raw buffer not allocatable in case of such buffer. Useful to avoid intensive memory allocation/freeing, also making it more secure.
NDBUF_MOLS should be used in order to avoid alloc/memcpy for s, p and P types. use it with care
Log in to post a comment.
NDBUF_MOLS should be used in order to avoid alloc/memcpy for s, p and P types.
use it with care