Aide:StringToBinary.txt

De Wiki AutoIt Français
Aller à : navigation, rechercher

Document original V3.3.6.1 :

###Function###
StringToBinary

###Description###
Converts a string into binary data.

###Syntax###
StringToBinary ( expression [, flag] )


###Parameters###
@@ParamTable@@
expression
	An expression to convert into binary data.
flag
	[optional] Changes how the string is stored as binary:
	  flag = 1 (default), binary data is ANSI
	  flag = 2, binary data is UTF16 Little Endian
	  flag = 3, binary data is UTF16 Big Endian
	  flag = 4, binary data is UTF8
@@End@@


###ReturnValue###
Returns a binary variant.


###Remarks###
None.

###Related###
Binary, BinaryToString, IsBinary, String


###Example###
@@IncludeExample@@


Document traduit V3.3.6.1 :

###Function###
StringToBinary

###Description###
Convertit une chaîne en donnée binaire.


###Syntax###
StringToBinary ( expression [, flag] )


###Parameters###
@@ParamTable@@
expression
	Une expression à convertir en donnée binaire.
flag
	[optionnel] Change la méthode de stockage binaire :
	  flag = 1, donnée binaire en ANSI (par défaut)
	  flag = 2, donnée binaire en UTF16 Little Endian
	  flag = 3, donnée binaire en UTF16 Big Endian
	  flag = 4, donnée binaire en UTF8
@@End@@


###ReturnValue###
Retourne une variable binaire.


###Remarks###
Aucune.


###Related###
<a href="Binary.htm">Binary</a>, <a href="BinaryToString.htm">BinaryToString</a>, <a href="IsBinary.htm">IsBinary</a>, <a href="String.htm">String</a>


###Example###
@@IncludeExample@@


Traducteur : Alex74

Contributeurs (pour les modifications avant le Wiki) : Tlem