B4A Library [B4X] B4XEncryption - Erel    Sep 10, 2025   (24 reactions)   tags: B4XEncryption, Security, encrypt, B4A DecryptText(EncryptedData() As Byte, password As String) As String Dim c As B4XCipher Dim b() As Byte = c.Decrypt(EncryptedData, password) Return BytesToString(b, 0, b.Length, "utf8"... it on a different platform. Usage example: Sub EncryptText(text As String, password As String) As Byte...This library allows you to encrypt or decrypt data using the AES encryption method. To prevent...: B4XEncryption - B4A jB4XEncryption - B4J iEncryption - B4i (Encrypt and Decrypt methods) It is simple to use... Spanish [Solucionado] Uso de BytesToString - angel_    Jun 3, 2020 No acabo de entender el punto 13 y cómo se puede aplicar, ¿alguien lo podría explicar? también me serviría un enlace o un ejemplo, me... B4A Question BytesToString(Buffer,0,Buffer.Length,"UTF8") - Hamied Abou Hulaikah    Jan 29, 2017 when i use BytesToString(Buffer,0,Buffer.Length,"UTF8") it returns result of logging to modem,my problem that it returns text English and some modems return unrecognized character
i tried many charset like (windows-1256 ,windows-1250,iso......)but it still not English understandable text
any solutions please?... B4J Question BytesToString Charset - MarrowZero (first post)    Jun 13, 2021 Thanks Erel, thats the sort of answer I was looking for ;)... B4A Question Question about the function BytesToString - Deleted member 103 (first post)    Mar 21, 2019 -128 to 127 (NOT the unsigned bytes 0 to 255 of most everywhere else) (including ARGB color components ;-)
2/ B4A chars and strings are 16-bit, and can thus hold values outside of the range of a byte... German B4I: Exception bei BytesToString bei Umlauten - KMatle (first post)    Jan 5, 2019 Kannst du den entsprechenden Code posten?... B4A Question how to serialize the int 128 using BytesToString - Erel (first post)    Oct 30, 2017 Please use code here... tags when posting code.
Your code is wrong.
The input to BytesToString must be bytes that represent a string. You should use r.ReadInt to convert the binary data to an int.... B4A Question Missing ) in BytesToString - Eldritch (first post)    Mar 30, 2015 Duuuh, stupid me. Writing VBS code and not B4A. Thanks for the help:-)... B4A Question Serial Lib / BytesToString and IBM850 umlauts - klaus (first post)    Jun 10, 2011 Try:Buffer_MSG = BytesToString(Buffer, 0, Buffer.Length, "ISO-8859-1")
It is similar to IBM850.
Best regards.... B4J Code Snippet [B4X] Unzip single entry from a zip file / ZipToMap / MapToZip - Erel    May 15, 2025   (9 reactions) s As String = BytesToString(b, 0, b.Length, "utf8") Log(s) End If End Sub Getting...B4A + B4J code. Reads the data of a single entry. 'Depends on JavaObject. Returns 0 bytes array if entry not found. Private Sub UnzipEntry(ZipPath As String, Entry As String) As Byte() Dim result() As Byte Dim ZipFile As JavaObject ZipFile.InitializeNewInstance("java.util.zip....InputStreamToBytes(ZipFile.RunMethod("getInputStream", Array(ZipEntry))) ZipFile.RunMethod... Page: 1   2   3   4   5   6   7   |