bin:length

The bin:length function returns the size of binary data in octets.

length($in as xs:base64Binary) ➔ xs:integer

Arguments

 

$in

xs:base64Binary

Input binary data

Result

xs:integer

Namespace

http://expath.org/ns/binary

Links to specifications

EXPath Binary Module

Saxon availability

Available whether or not support for XPath 3.0 is enabled. Implemented since Saxon 9.6. Requires Saxon-PE or Saxon-EE.