Returns the size of a stored element, as used for storage quota and bandwidth control.
size = Utility.Storage.Size(identifier, data) | |||
Parameter | Type | Datatype | Description |
---|---|---|---|
data | parameter | string | The data to store. This parameter is binary-safe. |
identifier | parameter | string | The identifier of the storage bucket. Must be at least three characters long. |
size | result | number | The calculated size of the storage bucket. |