|
The mi_var_to_buffer() routine copies data from a varying-length structure to a buffer.
varlen_ptr | is a pointer to the varying-length structure. |
buffer | is a pointer to the user-allocated buffer. |
The mi_var_to_buffer() function copies data from the varying-length structure that varlen_ptr references to a user-allocated buffer that buffer references. The function copies data up to the data length specified in the varying-length descriptor. You can obtain the current data length with the mi_get_varlen() function. You must ensure that the buffer that buffer references is large enough to hold the data.
None.
See the description of the following functions: mi_lvarchar_to_string(), mi_new_var(), mi_string_to_lvarchar(), mi_var_copy(), and mi_var_free().
For more information, see Obtaining Varying-Length Data.