Loading TOC...

xdmp.binarySize

xdmp.binarySize(
   [$source as binary()?]
) as String?

Summary

Returns the size of the data, in bytes, represented by a binary node.

Parameters
$source A binary node whose data size will be returned.

Example

var bin = xdmp.documentGet("http://www.my-stuff.com/example.mpeg");
xdmp.binarySize(fn.head(bin).root);

  => the size (in bytes) of "example.mpeg"

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy