bin:unpack-float
Extract float value stored at the particular offset in binary data.
unpack-float($in as xs:base64Binary, $offset as xs:integer) ➔ xs:float
Arguments | |||
| $in | xs:base64Binary | Input binary data |
| $offset | xs:integer | Offset in octets into the input data |
Result | xs:float |
unpack-float($in as xs:base64Binary, $offset as xs:integer, $octet-order as xs:string) ➔ xs:float
Arguments | |||
| $in | xs:base64Binary | Input binary data |
| $offset | xs:integer | Offset in octets into the input data |
| $octet-order | xs:string | The order (most/least significant first) in which to pack or unpack octets |
Result | xs:float |
Namespace
http://expath.org/ns/binary
Links to specifications
Saxon availability
Available whether or not support for XPath 3.0 is enabled. Implemented since Saxon 9.6. Requires Saxon-PE or Saxon-EE.