Help us improve by taking our short survey: https://www.hdfgroup.org/website-survey/

| HDF5 Last Updated on 2025-11-11 The HDF5 Field Guide

- Main Page
- Getting started
- User Guide
- Reference Manual
- Cookbook
- Technical Notes
- RFCs
- Specifications
- Glossary
- Full-Text Search
- About

Loading...
Searching...
No Matches
Macros
Standard Datatypes
Datatypes (H5T) » Predefined Datatypes

## Detailed Description

These are "standard" types. For instance, signed (2's complement) and unsigned integers of various sizes in big- and little-endian byte orders.

Predefined Standard Datatypes
Datatype | Description
--- | ---
H5T_STD_I8BE | 8-bit big-endian signed integer (2's complement)
H5T_STD_I8LE | 8-bit little-endian signed integer (2's complement)
H5T_STD_I16BE | 16-bit big-endian signed integer (2's complement)
H5T_STD_I16LE | 16-bit little-endian signed integer (2's complement)
H5T_STD_I32BE | 32-bit big-endian signed integer (2's complement)
H5T_STD_I32LE | 32-bit little-endian signed integer (2's complement)
H5T_STD_I64BE | 64-bit big-endian signed integer (2's complement)
H5T_STD_I64LE | 64-bit little-endian signed integer (2's complement)
H5T_STD_U8BE | 8-bit big-endian unsigned integer
H5T_STD_U8LE | 8-bit little-endian unsigned integer
H5T_STD_U16BE | 16-bit big-endian unsigned integer
H5T_STD_U16LE | 16-bit little-endian unsigned integer
H5T_STD_U32BE | 32-bit big-endian unsigned integer
H5T_STD_U32LE | 32-bit little-endian unsigned integer
H5T_STD_U64BE | 64-bit big-endian unsigned integer
H5T_STD_U64LE | 64-bit little-endian unsigned integer
H5T_STD_B8BE | 8-bit big-endian bitfield
H5T_STD_B8LE | 8-bit little-endian bitfield
H5T_STD_B16BE | 16-bit big-endian bitfield
H5T_STD_B16LE | 16-bit little-endian bitfield
H5T_STD_B32BE | 32-bit big-endian bitfield
H5T_STD_B32LE | 32-bit little-endian bitfield
H5T_STD_B64BE | 64-bit big-endian bitfield
H5T_STD_B64LE | 64-bit little-endian bitfield
H5T_STD_REF_OBJ | Object reference
H5T_STD_REF_DSETREG | Dataset region reference
H5T_STD_REF | Generic reference

## Macros
#define | H5T_STD_B16BE (H5OPEN H5T_STD_B16BE_g)
#define | H5T_STD_B16LE (H5OPEN H5T_STD_B16LE_g)
#define | H5T_STD_B32BE (H5OPEN H5T_STD_B32BE_g)
#define | H5T_STD_B32LE (H5OPEN H5T_STD_B32LE_g)
#define | H5T_STD_B64BE (H5OPEN H5T_STD_B64BE_g)
#define | H5T_STD_B64LE (H5OPEN H5T_STD_B64LE_g)
#define | H5T_STD_B8BE (H5OPEN H5T_STD_B8BE_g)
#define | H5T_STD_B8LE (H5OPEN H5T_STD_B8LE_g)
#define | H5T_STD_I16BE (H5OPEN H5T_STD_I16BE_g)
#define | H5T_STD_I16LE (H5OPEN H5T_STD_I16LE_g)
#define | H5T_STD_I32BE (H5OPEN H5T_STD_I32BE_g)
#define | H5T_STD_I32LE (H5OPEN H5T_STD_I32LE_g)
#define | H5T_STD_I64BE (H5OPEN H5T_STD_I64BE_g)
#define | H5T_STD_I64LE (H5OPEN H5T_STD_I64LE_g)
#define | H5T_STD_I8BE (H5OPEN H5T_STD_I8BE_g)
#define | H5T_STD_I8LE (H5OPEN H5T_STD_I8LE_g)
#define | H5T_STD_REF (H5OPEN H5T_STD_REF_g)
#define | H5T_STD_REF_DSETREG (H5OPEN H5T_STD_REF_DSETREG_g)
#define | H5T_STD_REF_OBJ (H5OPEN H5T_STD_REF_OBJ_g)
#define | H5T_STD_U16BE (H5OPEN H5T_STD_U16BE_g)
#define | H5T_STD_U16LE (H5OPEN H5T_STD_U16LE_g)
#define | H5T_STD_U32BE (H5OPEN H5T_STD_U32BE_g)
#define | H5T_STD_U32LE (H5OPEN H5T_STD_U32LE_g)
#define | H5T_STD_U64BE (H5OPEN H5T_STD_U64BE_g)
#define | H5T_STD_U64LE (H5OPEN H5T_STD_U64LE_g)
#define | H5T_STD_U8BE (H5OPEN H5T_STD_U8BE_g)
#define | H5T_STD_U8LE (H5OPEN H5T_STD_U8LE_g)

## Macro Definition Documentation

## ◆ H5T_STD_B16BE

#define H5T_STD_B16BE (H5OPEN H5T_STD_B16BE_g)

16-bit big-endian bitfield

## ◆ H5T_STD_B16LE

#define H5T_STD_B16LE (H5OPEN H5T_STD_B16LE_g)

16-bit little-endian bitfield

## ◆ H5T_STD_B32BE

#define H5T_STD_B32BE (H5OPEN H5T_STD_B32BE_g)

32-bit big-endian bitfield

## ◆ H5T_STD_B32LE

#define H5T_STD_B32LE (H5OPEN H5T_STD_B32LE_g)

32-bit little-endian bitfield

## ◆ H5T_STD_B64BE

#define H5T_STD_B64BE (H5OPEN H5T_STD_B64BE_g)

64-bit big-endian bitfield

## ◆ H5T_STD_B64LE

#define H5T_STD_B64LE (H5OPEN H5T_STD_B64LE_g)

64-bit little-endian bitfield

## ◆ H5T_STD_B8BE

#define H5T_STD_B8BE (H5OPEN H5T_STD_B8BE_g)

8-bit big-endian bitfield

## ◆ H5T_STD_B8LE

#define H5T_STD_B8LE (H5OPEN H5T_STD_B8LE_g)

8-bit little-endian bitfield

## ◆ H5T_STD_I16BE

#define H5T_STD_I16BE (H5OPEN H5T_STD_I16BE_g)

16-bit big-endian signed integers

## ◆ H5T_STD_I16LE

#define H5T_STD_I16LE (H5OPEN H5T_STD_I16LE_g)

16-bit little-endian signed integers

## ◆ H5T_STD_I32BE

#define H5T_STD_I32BE (H5OPEN H5T_STD_I32BE_g)

32-bit big-endian signed integers

## ◆ H5T_STD_I32LE

#define H5T_STD_I32LE (H5OPEN H5T_STD_I32LE_g)

32-bit little-endian signed integers

## ◆ H5T_STD_I64BE

#define H5T_STD_I64BE (H5OPEN H5T_STD_I64BE_g)

64-bit big-endian signed integers

## ◆ H5T_STD_I64LE

#define H5T_STD_I64LE (H5OPEN H5T_STD_I64LE_g)

64-bit little-endian signed integers

## ◆ H5T_STD_I8BE

#define H5T_STD_I8BE (H5OPEN H5T_STD_I8BE_g)

8-bit big-endian signed integers

## ◆ H5T_STD_I8LE

#define H5T_STD_I8LE (H5OPEN H5T_STD_I8LE_g)

8-bit little-endian signed integers

## ◆ H5T_STD_REF

#define H5T_STD_REF (H5OPEN H5T_STD_REF_g)

Generic reference

## ◆ H5T_STD_REF_DSETREG

#define H5T_STD_REF_DSETREG (H5OPEN H5T_STD_REF_DSETREG_g)

Dataset region reference

## ◆ H5T_STD_REF_OBJ

#define H5T_STD_REF_OBJ (H5OPEN H5T_STD_REF_OBJ_g)

Object reference

## ◆ H5T_STD_U16BE

#define H5T_STD_U16BE (H5OPEN H5T_STD_U16BE_g)

16-bit big-endian unsigned integers

## ◆ H5T_STD_U16LE

#define H5T_STD_U16LE (H5OPEN H5T_STD_U16LE_g)

16-bit little-endian unsigned integers

## ◆ H5T_STD_U32BE

#define H5T_STD_U32BE (H5OPEN H5T_STD_U32BE_g)

32-bit big-endian unsigned integers

## ◆ H5T_STD_U32LE

#define H5T_STD_U32LE (H5OPEN H5T_STD_U32LE_g)

32-bit little-endian unsigned integers

## ◆ H5T_STD_U64BE

#define H5T_STD_U64BE (H5OPEN H5T_STD_U64BE_g)

64-bit big-endian unsigned integers

## ◆ H5T_STD_U64LE

#define H5T_STD_U64LE (H5OPEN H5T_STD_U64LE_g)

64-bit little-endian unsigned integers

## ◆ H5T_STD_U8BE

#define H5T_STD_U8BE (H5OPEN H5T_STD_U8BE_g)

8-bit big-endian unsigned integers

## ◆ H5T_STD_U8LE

#define H5T_STD_U8LE (H5OPEN H5T_STD_U8LE_g)

8-bit little-endian unsigned integers