Into Beginner guide at -4.2
BytesToString (Data() As Byte, StartOffset As Int, Length As Int, CharSet As String) As String
Décode le tableau d’octets (bytes) en un objet String.
Data - Le tableau d’octets.
StartOffset - Le premier octet à lire.
Length - Nombre d’octets à lire.
CharSet - Le nom du codage de caractères.
Exemple :
Dim s As String
s = BytesToString(Buffer, 0, Buffer.Length, "UTF-8")
Good !
But how it possible to define Buffer.lenght ?
Thank you very much.