| Subject | Array fields buffer structure | 
|---|---|
| Author | gregor_m2 | 
| Post date | 2008-08-29T16:00:13Z | 
Hi everybody,
I need explanation about buffer structure of varchar array fields
obtained by call of isc_array_get_slice and passed in
isc_array_put_slice. It seems to be no consistency in this buffer
structure. Allthough size of the buffer must be
array_all_elements_count * (varchar_size + 2_bytes_for_actual_length),
each element of array does not start with this 2 bytes of length but
starts directly from string characters and the actual string length is
not placed in the buffer anywhere.
I thank in advance for any hint.
            I need explanation about buffer structure of varchar array fields
obtained by call of isc_array_get_slice and passed in
isc_array_put_slice. It seems to be no consistency in this buffer
structure. Allthough size of the buffer must be
array_all_elements_count * (varchar_size + 2_bytes_for_actual_length),
each element of array does not start with this 2 bytes of length but
starts directly from string characters and the actual string length is
not placed in the buffer anywhere.
I thank in advance for any hint.