bin:shift
Shift the bits of a binary value left or right.
shift($value as (xs:hexBinary | xs:base64Binary)?, $by as xs:integer) ➔ xs:base64Binary?
Arguments | ||||
| $value | (xs:hexBinary | xs:base64Binary)? | Input binary data | |
| $by | xs:integer | The number of bit positions to shift left or right | |
Result | xs:base64Binary? | |||
Namespace
http://expath.org/ns/binary
Links to specifications
Saxon availability
Available in XPath 2.0 and later versions. Implemented since Saxon 9.6. Requires Saxon-PE or Saxon-EE. Available for all platforms.