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

| HDF5 Last Updated on 2026-07-28 The HDF5 Field Guide

Loading...
Searching...
No Matches
C9x Integer Datatypes
Datatypes (H5T) » Predefined Datatypes » Native Datatypes

## Detailed Description

C9x integer types

Predefined ANSI C9x-specific Native Integer Datatypes
Datatype | Description
--- | ---
H5T_NATIVE_INT8 | 8-bit signed integer (2's complement)
H5T_NATIVE_UINT8 | 8-bit unsigned integer
H5T_NATIVE_INT_LEAST8 | 8-bit signed integer (2's complement) with storage to use least amount of space
H5T_NATIVE_UINT_LEAST8 | 8-bit unsigned integer with storage to use least amount of space
H5T_NATIVE_INT_FAST8 | 8-bit signed integer (2's complement) with storage to maximize performance
H5T_NATIVE_UINT_FAST8 | 8-bit unsigned integer with storage to maximize performance
H5T_NATIVE_INT16 | 16-bit signed integer (2's complement)
H5T_NATIVE_UINT16 | 16-bit unsigned integer
H5T_NATIVE_INT_LEAST16 | 16-bit signed integer (2's complement) with storage to use least amount of space
H5T_NATIVE_UINT_LEAST16 | 16-bit unsigned integer with storage to use least amount of space
H5T_NATIVE_INT_FAST16 | 16-bit signed integer (2's complement) with storage to maximize performance
H5T_NATIVE_UINT_FAST16 | 16-bit unsigned integer with storage to maximize performance
H5T_NATIVE_INT32 | 32-bit signed integer (2's complement)
H5T_NATIVE_UINT32 | 32-bit unsigned integer
H5T_NATIVE_INT_LEAST32 | 32-bit signed integer (2's complement) with storage to use least amount of space
H5T_NATIVE_UINT_LEAST32 | 32-bit unsigned integer with storage to use least amount of space
H5T_NATIVE_INT_FAST32 | 32-bit signed integer (2's complement) with storage to maximize performance
H5T_NATIVE_UINT_FAST32 | 32-bit unsigned integer with storage to maximize performance
H5T_NATIVE_INT64 | 64-bit signed integer (2's complement)
H5T_NATIVE_UINT64 | 64-bit unsigned integer
H5T_NATIVE_INT_LEAST64 | 64-bit signed integer (2's complement) with storage to use least amount of space
H5T_NATIVE_UINT_LEAST64 | 64-bit unsigned integer with storage to use least amount of space
H5T_NATIVE_INT_FAST64 | 64-bit signed integer (2's complement) with storage to maximize performance
H5T_NATIVE_UINT_FAST64 | 64-bit unsigned integer with storage to maximize performance

## Macros
#define | H5T_NATIVE_INT16 (H5OPEN H5T_NATIVE_INT16_g)
#define | H5T_NATIVE_INT32 (H5OPEN H5T_NATIVE_INT32_g)
#define | H5T_NATIVE_INT64 (H5OPEN H5T_NATIVE_INT64_g)
#define | H5T_NATIVE_INT8 (H5OPEN H5T_NATIVE_INT8_g)
#define | H5T_NATIVE_INT_FAST16 (H5OPEN H5T_NATIVE_INT_FAST16_g)
#define | H5T_NATIVE_INT_FAST32 (H5OPEN H5T_NATIVE_INT_FAST32_g)
#define | H5T_NATIVE_INT_FAST64 (H5OPEN H5T_NATIVE_INT_FAST64_g)
#define | H5T_NATIVE_INT_FAST8 (H5OPEN H5T_NATIVE_INT_FAST8_g)
#define | H5T_NATIVE_INT_LEAST16 (H5OPEN H5T_NATIVE_INT_LEAST16_g)
#define | H5T_NATIVE_INT_LEAST32 (H5OPEN H5T_NATIVE_INT_LEAST32_g)
#define | H5T_NATIVE_INT_LEAST64 (H5OPEN H5T_NATIVE_INT_LEAST64_g)
#define | H5T_NATIVE_INT_LEAST8 (H5OPEN H5T_NATIVE_INT_LEAST8_g)
#define | H5T_NATIVE_UINT16 (H5OPEN H5T_NATIVE_UINT16_g)
#define | H5T_NATIVE_UINT32 (H5OPEN H5T_NATIVE_UINT32_g)
#define | H5T_NATIVE_UINT64 (H5OPEN H5T_NATIVE_UINT64_g)
#define | H5T_NATIVE_UINT8 (H5OPEN H5T_NATIVE_UINT8_g)
#define | H5T_NATIVE_UINT_FAST16 (H5OPEN H5T_NATIVE_UINT_FAST16_g)
#define | H5T_NATIVE_UINT_FAST32 (H5OPEN H5T_NATIVE_UINT_FAST32_g)
#define | H5T_NATIVE_UINT_FAST64 (H5OPEN H5T_NATIVE_UINT_FAST64_g)
#define | H5T_NATIVE_UINT_FAST8 (H5OPEN H5T_NATIVE_UINT_FAST8_g)
#define | H5T_NATIVE_UINT_LEAST16 (H5OPEN H5T_NATIVE_UINT_LEAST16_g)
#define | H5T_NATIVE_UINT_LEAST32 (H5OPEN H5T_NATIVE_UINT_LEAST32_g)
#define | H5T_NATIVE_UINT_LEAST64 (H5OPEN H5T_NATIVE_UINT_LEAST64_g)
#define | H5T_NATIVE_UINT_LEAST8 (H5OPEN H5T_NATIVE_UINT_LEAST8_g)

## Macro Definition Documentation

## ◆ H5T_NATIVE_INT16

#define H5T_NATIVE_INT16 (H5OPEN H5T_NATIVE_INT16_g)

## ◆ H5T_NATIVE_INT32

#define H5T_NATIVE_INT32 (H5OPEN H5T_NATIVE_INT32_g)

Since
  1.2.0

## ◆ H5T_NATIVE_INT64

#define H5T_NATIVE_INT64 (H5OPEN H5T_NATIVE_INT64_g)

Since
  1.2.0

## ◆ H5T_NATIVE_INT8

#define H5T_NATIVE_INT8 (H5OPEN H5T_NATIVE_INT8_g)

Since
  1.2.0

## ◆ H5T_NATIVE_INT_FAST16

#define H5T_NATIVE_INT_FAST16 (H5OPEN H5T_NATIVE_INT_FAST16_g)

## ◆ H5T_NATIVE_INT_FAST32

#define H5T_NATIVE_INT_FAST32 (H5OPEN H5T_NATIVE_INT_FAST32_g)

Since
  1.2.0

## ◆ H5T_NATIVE_INT_FAST64

#define H5T_NATIVE_INT_FAST64 (H5OPEN H5T_NATIVE_INT_FAST64_g)

Since
  1.2.0

## ◆ H5T_NATIVE_INT_FAST8

#define H5T_NATIVE_INT_FAST8 (H5OPEN H5T_NATIVE_INT_FAST8_g)

Since
  1.2.0

## ◆ H5T_NATIVE_INT_LEAST16

#define H5T_NATIVE_INT_LEAST16 (H5OPEN H5T_NATIVE_INT_LEAST16_g)

## ◆ H5T_NATIVE_INT_LEAST32

#define H5T_NATIVE_INT_LEAST32 (H5OPEN H5T_NATIVE_INT_LEAST32_g)

Since
  1.2.0

## ◆ H5T_NATIVE_INT_LEAST64

#define H5T_NATIVE_INT_LEAST64 (H5OPEN H5T_NATIVE_INT_LEAST64_g)

Since
  1.2.0

## ◆ H5T_NATIVE_INT_LEAST8

#define H5T_NATIVE_INT_LEAST8 (H5OPEN H5T_NATIVE_INT_LEAST8_g)

Since
  1.2.0

## ◆ H5T_NATIVE_UINT16

#define H5T_NATIVE_UINT16 (H5OPEN H5T_NATIVE_UINT16_g)

## ◆ H5T_NATIVE_UINT32

#define H5T_NATIVE_UINT32 (H5OPEN H5T_NATIVE_UINT32_g)

Since
  1.2.0

## ◆ H5T_NATIVE_UINT64

#define H5T_NATIVE_UINT64 (H5OPEN H5T_NATIVE_UINT64_g)

Since
  1.2.0

## ◆ H5T_NATIVE_UINT8

#define H5T_NATIVE_UINT8 (H5OPEN H5T_NATIVE_UINT8_g)

Since
  1.2.0

## ◆ H5T_NATIVE_UINT_FAST16

#define H5T_NATIVE_UINT_FAST16 (H5OPEN H5T_NATIVE_UINT_FAST16_g)

## ◆ H5T_NATIVE_UINT_FAST32

#define H5T_NATIVE_UINT_FAST32 (H5OPEN H5T_NATIVE_UINT_FAST32_g)

Since
  1.2.0

## ◆ H5T_NATIVE_UINT_FAST64

#define H5T_NATIVE_UINT_FAST64 (H5OPEN H5T_NATIVE_UINT_FAST64_g)

Since
  1.2.0

## ◆ H5T_NATIVE_UINT_FAST8

#define H5T_NATIVE_UINT_FAST8 (H5OPEN H5T_NATIVE_UINT_FAST8_g)

Since
  1.2.0

## ◆ H5T_NATIVE_UINT_LEAST16

#define H5T_NATIVE_UINT_LEAST16 (H5OPEN H5T_NATIVE_UINT_LEAST16_g)

## ◆ H5T_NATIVE_UINT_LEAST32

#define H5T_NATIVE_UINT_LEAST32 (H5OPEN H5T_NATIVE_UINT_LEAST32_g)

Since
  1.2.0

## ◆ H5T_NATIVE_UINT_LEAST64

#define H5T_NATIVE_UINT_LEAST64 (H5OPEN H5T_NATIVE_UINT_LEAST64_g)

Since
  1.2.0

## ◆ H5T_NATIVE_UINT_LEAST8

#define H5T_NATIVE_UINT_LEAST8 (H5OPEN H5T_NATIVE_UINT_LEAST8_g)

Since
  1.2.0