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

# BlobInfo

> 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.

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

## Syntax

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

### Members

*BlobInfo*\
Type: XGameSaveBlobInfo

The struct's constructor.

*name*\
Type: std::string

The name of the blob.

*size*\
Type: uint32\_t

The size of the blob, in bytes.

## Remarks

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

`XGameSaveBlobInfo` contains the properties of an [XGameSaveBlob](https://docs.xbox.com/reference/system/xgamesave/structs/xgamesaveblob.md), and is a parameter for the [XGameSaveBlobInfoCallback](https://docs.xbox.com/reference/system/xgamesave/functions/xgamesaveblobinfocallback.md) 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.

## Requirements

**Header:** xgamesavewrappers.hpp

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

## See also

[Microsoft.Xbox.Wrappers.XGameSave.Provider](https://docs.xbox.com/reference/system/Wrappers/classes/provider/xgamesave_wrapper_provider.md)\
[XGameSave wrapper members](https://docs.xbox.com/reference/system/Wrappers/xgamesave_wrapper_members.md)


## Related topics

- [BlobInfoSet](https://docs.xbox.com/reference/system/Wrappers/vectors/blobinfoset.md)
- [QueryContainerBlobs](https://docs.xbox.com/reference/system/Wrappers/classes/provider/methods/xgamesave_wrapper_provider_querycontainerblobs.md)
- [XGameSave Wrapper Reference (API contents)](https://docs.xbox.com/reference/system/Wrappers/xgamesave_wrapper_members.md)
- [Microsoft.Xbox.Wrappers.XGameSave.Provider reference](https://docs.xbox.com/reference/system/Wrappers/classes/provider/xgamesave_wrapper_provider.md)
- [XGameSaveBlobInfo](https://docs.xbox.com/reference/system/xgamesave/structs/xgamesaveblobinfo.md)
