diff --git a/docs/doxygen/dox/H5.format.4.0.dox b/docs/doxygen/dox/H5.format.4.0.dox
index cd6c73952ef..0e5a268d5f3 100644
--- a/docs/doxygen/dox/H5.format.4.0.dox
+++ b/docs/doxygen/dox/H5.format.4.0.dox
@@ -90,6 +90,7 @@ Navigate back: \ref index "Main" / \ref SPEC
@ref sec_fmt4_appendixd
- @ref subsec_fmt4_appendixd_encode
+
- @ref subsec_fmt4_appendixd_encodet
- @ref subsec_fmt4_appendixd_encoderv
- @ref subsec_fmt4_appendixd_encodedp
@@ -11784,7 +11785,7 @@ Version 2 B-trees can be used to index various objects in the library. See
@ref FMT4V2BtType10 "10" and @ref FMT4V2BtType11 "11" record layouts are for
indexing dataset chunks.
-\section sec_fmt4_appendixd VIII. Appendix D: Encoding for Dataspace and Reference
+\section sec_fmt4_appendixd VIII. Appendix D: Encoding for Dataspace, Datatype, and Reference
\section subsec_fmt4_appendixd_encode VIII.A. Dataspace Encoding
#H5Sencode is a public routine that encodes a dataspace description into a buffer while
@@ -12619,7 +12620,50 @@ See the reference manual description for these two public routines.
-\section subsec_fmt4_appendixd_encoderv VIII.B. Reference Encoding (Revised)
+\section subsec_fmt4_appendixd_encodet VIII.B. Datatype Encoding
+#H5Tencode is a public routine that encodes a datatype description into a buffer while
+#H5Tdecode is the corresponding routine that decodes the description encoded in the buffer.
+See the reference manual description for these two public routines.
+
+
+Layout: Datatype Description for #H5Tencode/#H5Tdecode
+
+ | byte |
+ byte |
+ byte |
+ byte |
+
+
+ | Datatype ID |
+ Encode Version |
+ This space inserted only to align table nicely |
+
+
+
Datatype Message (variable size)
|
+
+
+
+
+Fields: Datatype Description for #H5Tencode/#H5Tdecode
+
+ | Field Name |
+ Description |
+
+
+ | Datatype ID |
+ The datatype message ID which is 3. |
+
+
+ | Encode Version |
+ H5T_ENCODE_VERSION which is 0. |
+
+
+ | Datatype Message |
+ The datatype message information. See @ref subsubsec_fmt4_dataobject_hdr_msg_dtmessage |
+
+
+
+\section subsec_fmt4_appendixd_encoderv VIII.C. Reference Encoding (Revised)
Reference information is stored as the dataset's raw data. The layout format is described below as
the Reference Header and the Reference Block.
@@ -12849,7 +12893,7 @@ the Reference Block is stored using one of two methods:
-\section subsec_fmt4_appendixd_encodedp VIII.C. Reference Encoding (Backward Compatibility)
+\section subsec_fmt4_appendixd_encodedp VIII.D. Reference Encoding (Backward Compatibility)
The two references described below are maintained to preserve compatibility with previous versions
of the library.
For the following reference type, the reference encoding is stored as the dataset's raw data in the file: