how is one supposed to query for the required buffer size for a call to safe_dump_to(void*,size_t) ? the only way i can think of to do this right now is to keep calling it repeatedly with an increasing buffer size until the return value stops changing.
please don't say 'just choose some random constant value'...
Reactions are currently unavailable
how is one supposed to query for the required buffer size for a call to safe_dump_to(void*,size_t) ? the only way i can think of to do this right now is to keep calling it repeatedly with an increasing buffer size until the return value stops changing.
please don't say 'just choose some random constant value'...