Changes

Jump to navigation Jump to search
419 bytes removed ,  13:11, 14 August 2019
=Conventions=
 
{{Mark|Updated with Version 9.0}}:
All functions and errors in this module are assigned to the <code><nowiki>http://basex.org/modules/convert</nowiki></code> namespace, which is statically bound to the {{Code|convert}} prefix.<br/>
==convert:integers-to-base64==
 
{{Mark|Updated with Version 9.0}}: Renamed from {{Code|convert:bytes-to-base64}}; argument type relaxed from {{Code|xs:byte}} to {{Code|xs:integer}}.
{| width='100%'
|Converts the specified {{Code|$integers}} to an item of type {{Code|xs:base64Binary}}:
* Only the first 8 bits of the supplied integers will be considered.
* Conversion of byte sequences is particularly cheapvery efficient, as items of binary type are internally represented as byte arrays.
|}
==convert:integers-to-hex==
 
{{Mark|Updated with Version 9.0}}: Renamed from {{Code|convert:bytes-to-base64}}; argument type relaxed from {{Code|xs:byte}} to {{Code|xs:integer}}.
{| width='100%'
|Converts the specified {{Code|$integers}} to an item of type {{Code|xs:hexBinary}}:
* Only the first 8 bits of the supplied integers will be considered.
* Conversion of byte sequences is particularly cheapvery efficient, as items of binary type are internally represented as byte arrays.
|}
==convert:binary-to-integers==
 
{{Mark|Introduced with Version 9.0}}:
{| width='100%'
|-
| width='120' | '''Signatures'''
|{{Func|convert:binary-to-integerintegers|$binary as xs:anyAtomicType|xs:integer*}}
|-
| '''Summary'''
| '''Examples'''
|
* <code>convert:binary-to-integerintegers(xs:hexBinary('FF'))</code> yields {{Code|255}}.
|}
=Errors=
 
{{Mark|Updated with Version 9.0}}:
{| class="wikitable" width="100%"
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu