bin:pad-right

Returns the binary data created by padding $in with $size blank octets from the right. The padding octet values are $octet or zero if omitted.

pad-right($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-right($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

Links to specifications

EXPath Binary Module