B4J Question Convert an array of Bytes to an array of Ints - OliverA (first post)    Dec 27, 2022   (2 reactions) This code will convert each individual byte array element to an integer array element. ByteConverter will convert two byte array elements into one integer array element. B4A Library ByteConverter library - agraham    Dec 15, 2015   (13 reactions) It's occasionally useful to be able to poke around in things as arrays of bytes so this library lets you do it.
It can transform arrays of primitive types to and from arrays of bytes with the "endian-ness" of the conversion specified. If you need endian-ness you will either know about it or rather B4J Question How to access byte array as int/short value directly without overhead? - agraham (first post)    Nov 10, 2022   (1 reaction) You won't get faster than using ByteConverter to map byte arrays to and from other types. Most methods are a thin wrap of Java ByteBuffer that is optimised for such accesses. B4A Question Great prog ... but a few questions - DonManfred (first post)    Mar 24, 2015   (1 reaction) Byteconverter B4A Question Inline Java - Erel (first post)    Jul 21, 2015   (2 reactions) BTW, you can use ByteConverter to convert an array of bytes to a hex string.
It should also be simple to convert this code to B4A (don't use this Java code. It will work very bad with non-small arrays). B4A Question Downloading B4J libraries ... - Erel (first post)    Jan 29, 2016 Moved to the questions forum.
The ByteConverter is a B4A library that is also compatible with B4J. Other B4R v2.51 is available for download - Erel    Jun 03, 2018   (12 reactions) B4R v2.51 is available for download: https://www.b4x.com/b4r.html This update includes all the IDE improvements that were added to the other B4X products including the ability to easily share modules between projects. IDE improvements. ByteConverter.ObjectSet - Allows setting a global object. Espe B4A Question Usable encryption between B4A and ESP8266 - agraham (first post)    Nov 05, 2021   (1 reaction) Use the ByteConverter library on B4X and keep with bytes on Arduino. B4A Question SOLVED: Appending arrays - Erel (first post)    Feb 18, 2015   (1 reaction) Use ByteConverter.ArrayCopy to copy the two arrays to a new large array. B4R Question Passing a char array to a inline C code - Erel (first post)    Jan 22, 2018   (2 reactions) You can use ByteConverter to search in arrays of bytes. You will need to read the data to an array and then search in it. You should of course only load small parts of the data each time. Page: 1   2   3   4   5   6   7   Powered by ColBERT |