B4A Library [B4X] BytesBuilder - simplifies working with arrays of bytes - Erel    Oct 13, 2019   (42 reactions)   tags: array, B4X BytesBuilder Class, B4X, string byte
Edit: BytesBuilder is included in B4XCollections library (named B4XBytesBuilder).
BytesBuilder... As BytesBuilder
For i = 0 To 255
bb.Append(Array As Byte(i))
B4A Code Snippet [B4X] Bytes To File - Erel    May 24, 2020   (18 reactions)   tags: Image, Share Images, Bytes, B4X, B4X Bytes To File
the RandomAccessFile library Tags: Bytes, Serialization Working with bytes? Check BytesBuilder: https://www.b4x.com/android/forum/threads/b4x-bytesbuilder-simplifies-working-with-arrays-of-bytes.89008/...This code is no longer needed. Use File.WriteBytes / ReadBytes. Write an array of bytes to a file and read a file into an array of bytes. Sub BytesToFile (Dir As String, FileName As String, Data() As Byte) Dim out As OutputStream = File.OpenOutput(Dir, FileName, False) out.WriteBytes(Data...
B4A Library [B4X] [class] MJPEG decoder - Erel    Jul 9, 2018   (12 reactions)   tags: B4X CLASS MJPEG Decoder, Video, Erel
down the program). Edit: For new projects it is recommended to use BytesBuilder. The following sub is used to search for strings or bytes in the raw bytes directly: Private Sub IndexOfString(s As String, Start As Int) As Int Return IndexOf(s.GetBytes("ASCII"), Start) End Sub Private Sub IndexOf(bs() As Byte, Start As Int) As Int For i = Start To index - 1 - bs.Length For b... and raw bytes. It is tempting to convert the bytes to a string. However raw bytes do not represent...
B4A Library [B4X] QRGenerator - Cross platform QR code generator - Erel    Apr 26, 2020   (45 reactions)   tags: QR, Code, QRGenerator, qrcode, B4X QRGenerator QRCode, B4X
formats. BytesBuilder was replaced with B4XBytesBuilder from B4XCollections library.
V1.20 - Adds...://www.b4x.com/basic4android/images/SS-2018-05-16_18.56.16.jpg
Can create codes made of up to 2953 bytes.
It depends on XUI library and B4XCollections v1.50+.
It uses the very useful B4XBytesBuilder... is attached with QRGenerator class.
V1.60 - Added support for 1-L (max size is 17 bytes).
B4A Library [B4X] APNG - animated PNG - Erel    Jan 3, 2022   (43 reactions)
https://apng.onevcat.com/assets/elephant.png (image source: https://apng.onevcat.com/demo/) APNG is a format that extends PNG with support for animations, similar to animated gifs. This class, which is implemented in B4X, extracts the frames from the APNG file and creates the animation. It doesn't support all possible formats. If you encounter a file that is not supported then post it Under the hood it uses RandomAccessFile + BytesBuilder + BitmapCreator + native CRC32 implementation to...
B4A Library [B4X] B4XCollections - More collections - Erel    Jan 3, 2022   (33 reactions)   tags: xui
(i) = False Then Log(i)
B4XBytesBuilder - Replaces BytesBuilder.
A collection with features similar to String and StringBuilder features. Holds raw bytes instead of characters.
Very useful when...
B4A Tutorial Erels B4X Oveview from Walt's B4xGoodies - created with B4xgoodies Explorer using BVAD3 - Mashiane    Apr 27, 2021   (1 reaction)
Ola CLASS Class - Animation - Animatedarrow - Focus The User Attention Class - Audio/video - Mjpeg Decoder Class - B4x - Bytesbuilder - Simplifies Working With Arrays Of Bytes Class - B4x - Undomanager Class - Bctextengine - Bctextengine Parser: B4x Code Highlighter Class - Colour - Bitmapcreator + Hsv Color Picker Class - Comms & Network - Sntp Class Class - Dialogs - B4xdialog - Custom Dialogs Class - Google - Google Place Autocomplete View Class - Http - Okhttputils2...
B4A Tutorial [B4X] AsyncStreams Tutorial - Erel    Feb 22, 2018   (5 reactions)   tags: B4A
BytesBuilder class to collect and parse the messages. Notes When a new message is available... is with a Timer that checks whether there are bytes waiting in the buffer. However even if there are bytes... AStreams_NewData (Buffer() As Byte) Dim msg As String msg = BytesToString(Buffer, 0, Buffer....Text.Length > 0 Then Dim buffer() As Byte buffer = EditText1.Text.GetBytes... data available we convert the bytes to string and show it: Sub AStreams_NewData (Buffer() As Byte...
B4A Question Unable to use ByteBuilder - toby (first post)    Nov 16, 2020   (1 reaction)
Fixed it by changing BytesBuilder to B4XbytesBuilder...
B4A Question I want to retrieve the data that I got from the UHF RFID scanner that scanned several RFID TAGs - DonManfred (first post)    Jan 31, 2020
if you are pleased that I was given an example of the coding
No. You need to do it by yourself. I never worked with bytesbuilder.
But i already gave you the tips for the tools to use. Bytesbuilder...
Page: 1   2   3   4   5   6   7