Note that contentLength
cannot be applied to transformed versions of a blob, so raw
is used here to refer to the originally uploaded binary.
Returns the length of the binary data, in bytes.
obj = Scrivito.getClass("Image").all().first();
obj.get('blob').raw().contentLength();
Note that contentLength
cannot be applied to transformed versions of a blob, so raw
is used here to refer to the originally uploaded binary.
Returns
Number