bin:unpack-unsigned-integer

Returns an unsigned integer value represented by the $size octets starting from $offset in the input binary representation.

unpack-unsigned-integer($in as xs:base64Binary, $offset as xs:integer, $size as xs:integer) ➔ xs:integer

Arguments

 

$in

xs:base64Binary

Input binary data

 

$offset

xs:integer

Offset in octets into the input data

 

$size

xs:integer

The number of octets to unpack

Result

xs:integer

unpack-unsigned-integer($in as xs:base64Binary, $offset as xs:integer, $size as xs:integer, $octet-order as xs:string) ➔ xs:integer

Arguments

 

$in

xs:base64Binary

Input binary data

 

$offset

xs:integer

Offset in octets into the input data

 

$size

xs:integer

The number of octets to unpack

 

$octet-order

xs:string

The order (most/least significant first) in which to pack or unpack octets

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.