Utility.Storage.Size

Returns the size of a stored element, as used for storage quota and bandwidth control.

Usage:

size = Utility.Storage.Size(identifier, data)
ParameterTypeDatatypeDescription
dataparameterstringThe data to store. This parameter is binary-safe.
identifierparameterstringThe identifier of the storage bucket. Must be at least three characters long.
sizeresultnumberThe calculated size of the storage bucket.