Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UCloudStorageBase
Description
Prepare a document for writing to the cloud with an array of bytes as input data. This is synchronous.
| Name | SaveDocumentWithBytes |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/CloudStorageBase.h |
| Include Path | #include "Engine/CloudStorageBase.h" |
| Source | /Engine/Source/Runtime/Engine/Private/ScriptPlatformInterface.cpp |
virtual bool SaveDocumentWithBytes
(
int32 Index,
const TArray < uint8 > & ByteData
)
Parameters
| Name | Remarks |
|---|---|
| Index | index of the document to save. |
| ByteData | The array of generic bytes to put into the document. |
| True | if successful. |