> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XGameSave Wrapper BlobInfo 結構參考

> Microsoft.Xbox.Wrappers.XGameSave.BlobInfo 結構的參考資料，此結構包含 XGameSave 所使用之存檔容器 Blob (檔案) 的名稱和位元組大小。

# Microsoft.Xbox.Wrappers.XGameSave.BlobInfo

包含 XGameSave 包裝函式所使用之 Blob (檔案) 的名稱和大小。

<a id="syntaxSection" />

## 語法

```cpp theme={null}
struct BlobInfo
{
    BlobInfo(const XGameSaveBlobInfo* info)
    {
        name = info->name;
        size = info->size;
    }
    std::string name;
    uint32_t size;
};
```

<a id="membersSection" />

### 成員

*BlobInfo*<br />類型：XGameSaveBlobInfo

結構的建構函式。

*name*<br />類型：std::string

Blob 的名稱。

*size*<br />類型：uint32\_t

Blob 的大小 (以位元組為單位)。

<a id="remarksSection" />

## 備註

您可以呼叫 BlobInfo 建構函式 (**BlobInfo::BlobInfo()**) 並傳遞指向 [XGameSaveBlobInfo](/zh-TW/reference/system/xgamesave/structs/xgamesaveblobinfo) 物件的指標，以初始化 `blobinfo` 結構。

`XGameSaveBlobInfo` 包含 [XGameSaveBlob](/zh-TW/reference/system/xgamesave/structs/xgamesaveblob) 的屬性，並且是 [XGameSaveBlobInfoCallback](/zh-TW/reference/system/xgamesave/functions/xgamesaveblobinfocallback) 函式的參數。

您可以使用 `name` 屬性，確保您讀取的是正確的 Blob。

若要使用足夠大的緩衝區讀取 Blob 的內容，請使用 `size` 屬性。

<a id="requirementsSection" />

## 需求

**標頭：** xgamesavewrappers.hpp

**支援的平台：** Windows、XBOX One 系列主機和 XBOX Series 主機

<a id="seealsoSection" />

## 另請參閱

[Microsoft.Xbox.Wrappers.XGameSave.Provider](/zh-TW/reference/system/Wrappers/classes/provider/xgamesave_wrapper_provider)<br />[XGameSave 包裝函式成員](/zh-TW/reference/system/Wrappers/xgamesave_wrapper_members)


## Related topics

- [BlobInfo](/zh-CN/reference/system/Wrappers/structs/blobinfo.md)
- [XGameSave Wrapper BlobInfo struct reference](/reference/system/Wrappers/structs/blobinfo.md)
- [Referencia de la estructura BlobInfo del contenedor XGameSave](/es/reference/system/Wrappers/structs/blobinfo.md)
- [XGameSave Wrapper reference index and member list](/reference/system/Wrappers/xgamesave_wrapper_members.md)
- [XGameSave Provider QueryContainerBlobs method](/reference/system/Wrappers/classes/provider/methods/xgamesave_wrapper_provider_querycontainerblobs.md)
