Measurable Success «10 Checkpoints for Future-Proof Enterprise CMS» White Paper
Measurable Success - White Paper

contentLength()

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