- To: netcdf-hdf@xxxxxxxxxxxxxxxx
- Subject: Re: Strings
- From: Ed Hartnett <ed@xxxxxxxxxxxxxxxx>
- Date: Thu, 08 Sep 2005 12:11:08 -0600
HDF Folk: If I have a attribute which is a 1D array of string, how, in general, do I find out the length of each string in the array, so that I can allocate space for it? If I use H5Sget_simple_extent_ndims then I get the number of strings in the array, but how do I get the length of each string? Also, if I read it into a buffer, is each string null-terminated? Is there some usual way to store an array of strings in C for HDF5 users? Thanks! Ed -- Ed Hartnett -- ed@xxxxxxxxxxxxxxxx
- Follow-Ups:
- Re: Strings
- From: Elena Pourmal
- Re: Strings