From f4f1c62cc5f6dd7224be1a1f6e27d6cd7b7bcabe Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Tue, 16 Sep 2003 08:40:04 -0500 Subject: [svn-r7476] Purpose: Clarify documentation about H5Tset_size for string datatypes. --- doc/html/RM_H5T.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/html/RM_H5T.html b/doc/html/RM_H5T.html index 7895b71..62e858b 100644 --- a/doc/html/RM_H5T.html +++ b/doc/html/RM_H5T.html @@ -1077,7 +1077,9 @@ H5Tget_overflow () toward zero. If the `offset' becomes zero and the significant bits of the datatype still hang over the edge of the new size, then the number of significant bits is decreased. - Adjusting the size of an H5T_STRING automatically sets the precision + The size set for a string should include space for the null-terminator + character, otherwise it will not be stored on (or retrieved from) disk. + Adjusting the size of an string automatically sets the precision to 8*size. A compound datatype may increase in size, but may not shrink. All datatypes must have a positive size.
Parameters: -- cgit v0.12