xdmp:binary-size( [$source as binary()?] ) as xs:unsignedLong?
Returns the size of the data, in bytes, represented by a binary node.
Parameters | |
---|---|
source | A binary node whose data size will be returned. |
xdmp:binary-size(fn:doc("example.mpeg")/binary()) => the size (in bytes) of "example.mpeg"
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.