Sample Programs


Sample programs for each Native integer and floating point datatypes and Standard integer and floating point datatypes.


Sample code for all datatypes.
C Buffer Datatype HDF5 Buffer Datatype HDF5 File Type View
Code
Download
Datafile
Character Types
Char H5T_NATIVE_CHAR H5T_STD_I8BE - Big Endian i8be.c i8be.h5
H5T_STD_I8LE - Little Endian i8le.c i8le.h5
Unsigned Char H5T_NATIVE_UCHAR H5T_STD_U8BE - Big Endian u8be.c u8be.h5
H5T_STD_U8LE - Little Endian u8le.c u8le.h5
Integer Types
Int H5T_NATIVE_INT H5T_STD_I32BE - Big Endian i32be.c i32be.h5
H5T_STD_I32LE - Little Endian i32le.c i32le.h5
Short H5T_NATIVE_SHORT H5T_STD_I16BE - Big Endian i16be.c i16be.h5
H5T_STD_I16LE - Little Endian i16le.c i16le.h5
Long H5T_NATIVE_LONG H5T_STD_I32BE - Big Endian il32be.c il32be.h5
H5T_STD_I32LE - Little Endian il32le.c il32le.h5
H5T_STD_I64BE - Big Endian i64be.c i64be.h5
H5T_STD_I64LE - Little Endian i64le.c i64le.h5
Unsigned Int H5T_NATIVE_UINT H5T_STD_U32BE - Big Endian i32be.c i32be.h5
H5T_STD_U32LE - Little Endian i32le.c i32le.h5
Unsigned Short H5T_NATIVE_USHORT H5T_STD_U16BE - Big Endian u16be.c u16be.h5
H5T_STD_U16LE - Little Endian u16le.c u16le.h5
Unsigned Long H5T_NATIVE_ULONG H5T_STD_U32BE - Big Endian ul32be.c ul32be.h5
H5T_STD_U32LE - Little Endian ul32le.c ul32le.h5
H5T_STD_U64BE - Big Endian u64be.c u64be.h5
H5T_STD_U64LE - Little Endian u64le.c u64le.h5
Floating Point Types
Float H5T_NATIVE_FLOAT H5T_IEEE_F32BE - Big Endian f32be.c f32be.h5
H5T_IEEE_F32LE - Little Endian f32le.c f32le.h5
Double H5T_NATIVE_DOUBLE H5T_IEEE_F64BE - Big Endian f64be.c f64be.h5
H5T_IEEE_F64LE - Little Endian f64le.c f64le.h5

Last Modified: July 26, 2007