---
title: Unserialize
description: "将Serialize中保存的落盘数据文件加载到内存中，需指定文件名称及具体路径。"
url: https://www.hiascend.com/document/detail/zh/Atlas200IDKA2DeveloperKit/latest/Application%20Development%20Guide/msadg/mxvisionug_0724.html
sourcePath: /source/zh/Atlas200IDKA2DeveloperKit/23.0.RC2/Application Development Guide/msadg/mxvisionug_0724.html
indexId: ebf0ec39d5c5c36cbf8e8b41f1af63ec66435f2a2e4794eee7ca6a1532d86a61102
---
# Unserialize

#### 函数功能

将Serialize中保存的落盘数据文件加载到内存中，需指定文件名称及具体路径。


#### 函数原型

```
APP_ERROR Unserialize(const std::string& filePath);
```


#### 参数说明

| 参数名 | 输入/输出 | 说明 |
| --- | --- | --- |
| filePath | 输入 | 落盘数据文件保存路径，输入文件大小支持范围为(0, 4GB]。 |


#### 返回参数说明

| 数据结构 | 说明 |
| --- | --- |
| APP\_ERROR | 程序执行返回的错误码，请参考APP\_ERROR说明。 |
