bin:pad-left
Returns the binary data created by padding $in
with $size
octets
from the left. The padding octet values are $octet
or zero if omitted.
pad-left($in as xs:base64Binary?, $size as xs:integer) ➔ xs:base64Binary?
Arguments | |||
| $in | xs:base64Binary? | Input binary data |
| $size | xs:integer | The number of octets to pad |
Result | xs:base64Binary? |
pad-left($in as xs:base64Binary?, $size as xs:integer, $octet as xs:integer) ➔ xs:base64Binary?
Arguments | |||
| $in | xs:base64Binary? | Input binary data |
| $size | xs:integer | The number of octets to pad |
| $octet | xs:integer | Octet value to use in the padding |
Result | xs:base64Binary? |
Namespace
http://expath.org/ns/binary