---
title: 获取数据类型大小
description: 获取原子数据类型的总大小。
url: "https://www.hikunpeng.com/document/detail/zh/hpchistory/hpckit/develop2400/userg_hyperio_0127.html"
---

# 获取数据类型大小

#### 函数定义

获取原子数据类型的总大小。

size_t H5Tget_size(hid_t datatypeId)


#### 参数

| 参数名 | 描述 | 取值范围 | 输入/输出 |
| --- | --- | --- | --- |
| datatypeId | 数据类型标识符。 | 整数 | 输入 |
