> ## 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 struct reference

> Reference for the Microsoft.Xbox.Wrappers.XGameSave.BlobInfo struct, which holds the name and byte size of a save-container blob (file) used by XGameSave.

# Microsoft.Xbox.Wrappers.XGameSave.BlobInfo

Contains the name and size of a blob (file) used by XGameSave wrappers.

<a id="syntaxSection" />

## Syntax

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

<a id="membersSection" />

### Members

*BlobInfo*<br />Type: XGameSaveBlobInfo

The struct's constructor.

*name*<br />Type: std::string

The name of the blob.

*size*<br />Type: uint32\_t

The size of the blob, in bytes.

<a id="remarksSection" />

## Remarks

You can initialize the `blobinfo` structure by calling the BlobInfo constructor (**BlobInfo::BlobInfo()**), passing a pointer to an [XGameSaveBlobInfo](/reference/system/xgamesave/structs/xgamesaveblobinfo) object.

`XGameSaveBlobInfo` contains the properties of an [XGameSaveBlob](/reference/system/xgamesave/structs/xgamesaveblob), and is a parameter for the [XGameSaveBlobInfoCallback](/reference/system/xgamesave/functions/xgamesaveblobinfocallback) function.

You can ensure that you're reading the correct blob by using the `name` property.

To read the contents of the blob with a sufficiently large buffer, use the `size` property.

<a id="requirementsSection" />

## Requirements

**Header:** xgamesavewrappers.hpp

**Supported platforms:** Windows, XBOX One family consoles and XBOX Series consoles

<a id="seealsoSection" />

## See also

[Microsoft.Xbox.Wrappers.XGameSave.Provider](/reference/system/Wrappers/classes/provider/xgamesave_wrapper_provider)<br />[XGameSave wrapper members](/reference/system/Wrappers/xgamesave_wrapper_members)


## Related topics

- [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)
- [XGameSave Provider Delete with BlobNames overload](/reference/system/Wrappers/classes/provider/methods/xgamesave_wrapper_provider_delete_string_blobnames.md)
- [XGameSave](/reference/system/xgamesave/xgamesave_members.md)
- [XGameSaveBlobInfo](/reference/system/xgamesave/structs/xgamesaveblobinfo.md)
