Aide:BinaryMid.txt
De Wiki AutoIt Français
Document original V3.3.6.1 :
###Function###
BinaryMid
###Description###
Extracts a number of bytes from a binary variant.
###Syntax###
BinaryMid ( binary, start [, count] )
###Parameters###
@@ParamTable@@
binary
The binary data to evaluate.
start
The byte position to start. (1 = first byte)
count
[optional] The number of bytes to extract. By default the entire remainder of the binary data.
@@End@@
###ReturnValue###
Returns the extracted binary data.
###Remarks###
If <i>start</i> is out-of-bounds, an empty binary variant is returned. If <i>start</i> is valid but count is out-of-bounds, the entire remainder of the binary data is returned.
###Related###
Binary, BinaryLen
###Example###
@@IncludeExample@@
Document traduit V3.3.6.1 :
###Function###
BinaryMid
###Description###
Extrait un certain nombre d'octets à partir d'une variable binaire.
###Syntax###
BinaryMid ( binary, start [, count] )
###Parameters###
@@ParamTable@@
binary
Les données binaires à évaluer.
start
Le numéro de l' octet où commencer l'extraction. (1 = premier octet)
count
[Optionnel] Le nombre d'octets à extraire. Par défaut tout le reste des données binaires.
@@End@@
###ReturnValue###
Retourne les données binaires extraites.
###Remarks###
<SPAN id=result_box lang=fr><SPAN title="">Si <EM>start </EM>est en dehors des limites, une
variante binaire vide est retournée. </SPAN><SPAN style="COLOR: rgb(0,0,0)"
title="">Si <EM>start</EM> est valide, mais que<EM> count</EM> est en dehors des
limites, toutes les données binaires restantes sont retournées.</SPAN></SPAN>
###Related###
<a href="Binary.htm">Binary</a>, <a href="BinaryLen.htm">BinaryLen</a>
###Example###
@@IncludeExample@@
Traducteur : timmalos
Contributeurs (pour les modifications avant le Wiki) : Jerome, Tlem