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

# XGameSaveBlob

> XGameSaveBlob

Unit of information for XGameSave storage. Resides within a XGameSaveContainer.

## Syntax

```cpp theme={null}
typedef struct XGameSaveBlob {  
    XGameSaveBlobInfo info;  
    uint8_t* data;  
} XGameSaveBlob  
```

### Members

*info*\
Type: [XGameSaveBlobInfo](https://docs.xbox.com/reference/system/xgamesave/structs/xgamesaveblobinfo.md)

Information about the XGameSaveBlob which includes the name of the XGameSaveBlob and its size.

*data*\
Type: uint8\_t\*

Pointer to the XGameSaveBlob data.

## Remarks

An XGameSaveBlob or simply a blob, is a buffer which contains data saved by a game. It also contains information about itself in the form of [XGameSaveBlobInfo](https://docs.xbox.com/reference/system/xgamesave/structs/xgamesaveblobinfo.md). This info includes its name and size so that it can be read appropriately. Blobs reside inside of **XGameSaveContainers**. A container can hold multiple blobs and acts like a folder for groups of related blobs. In order to read, write, or delete a blob you must first identify the correct container for that blob. Once you've identified the correct container you can enumerate the blobs within it by calling [XGameSaveEnumerateBlobInfo](https://docs.xbox.com/reference/system/xgamesave/functions/xgamesaveenumerateblobinfo.md) or [XGameSaveEnumerateBlobInfoByName](https://docs.xbox.com/reference/system/xgamesave/functions/xgamesaveenumerateblobinfobyname.md). Blobs may be read by calling [XGameSaveReadBlobData](https://docs.xbox.com/reference/system/xgamesave/functions/xgamesavereadblobdata.md) or [XGameSaveReadBlobDataAsync](https://docs.xbox.com/reference/system/xgamesave/functions/xgamesavereadblobdataasync.md)

## Requirements

**Header:** XGameSave.h

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

## See also

[XGameSave](https://docs.xbox.com/reference/system/xgamesave/xgamesave_members.md)\
[XGameSaveEnumerateBlobInfo](https://docs.xbox.com/reference/system/xgamesave/functions/xgamesaveenumerateblobinfo.md)\
[XGameSaveEnumerateBlobInfoByName](https://docs.xbox.com/reference/system/xgamesave/functions/xgamesaveenumerateblobinfobyname.md)\
[XGameSaveReadBlobData](https://docs.xbox.com/reference/system/xgamesave/functions/xgamesavereadblobdata.md)\
[XGameSaveReadBlobDataAsync](https://docs.xbox.com/reference/system/xgamesave/functions/xgamesavereadblobdataasync.md)


## Related topics

- [XGameSaveBlobInfo](https://docs.xbox.com/reference/system/xgamesave/structs/xgamesaveblobinfo.md)
- [XGameSaveReadBlobData](https://docs.xbox.com/reference/system/xgamesave/functions/xgamesavereadblobdata.md)
- [XGameSaveReadBlobDataResult](https://docs.xbox.com/reference/system/xgamesave/functions/xgamesavereadblobdataresult.md)
- [XGameSave (API contents)](https://docs.xbox.com/reference/system/xgamesave/xgamesave_members.md)
- [XGameSaveReadBlobDataAsync](https://docs.xbox.com/reference/system/xgamesave/functions/xgamesavereadblobdataasync.md)
