bin:insert-before

The bin:insert-before function inserts additional binary data at a given point in other binary data.

insert-before($in as xs:base64Binary?, $offset as xs:integer, $extra as xs:base64Binary?) ➔ xs:base64Binary?

Arguments

 

$in

xs:base64Binary?

Input binary data

 

$offset

xs:integer

Offset in octets into the input data

 

$extra

xs:base64Binary?

Result

xs:base64Binary?

Namespace

http://expath.org/ns/binary

Links to specifications

EXPath Binary Module