MarkLogic 9 Product Documentation
xdmp.binaryToInteger

xdmp.binaryToInteger(
   binary as String
) as Number

Summary

Parses a binary string, returning an integer.

Parameters
binary The binary string.

Example

xdmp.binaryToInteger("1001001100101100000001011010010");
=> 1234567890
Powered by MarkLogic Server | Terms of Use | Privacy Policy