file:write-binary

Writes a Base64 item as binary to a file. If $file already exists, it will be overwritten; otherwise, it will be created.

write-binary($file as xs:string, $value as xs:base64Binary) ➔ empty-sequence()

Arguments

 

$file

xs:string

Path to file

 

$value

xs:base64Binary

Base64 binary value to be written

Result

empty-sequence()

write-binary($file as xs:string, $value as xs:base64Binary, $offset as xs:integer) ➔ empty-sequence()

Arguments

 

$file

xs:string

Path to file

 

$value

xs:base64Binary

Base64 binary value to be written

 

$offset

xs:integer

Byte offset into the file for reading or writing

Result

empty-sequence()

Namespace

http://expath.org/ns/file

Links to specifications

EXPath File Module