B4A Library ByteConverter library - agraham    
Dec 15, 2015   
(14 reactions)   
tags: Lib, Byte Converter :- Version 1.1 posted. See post #4 for details.
Download link: www.b4x.com/android/files/ByteConverter1.1...
link: https://www.b4x.com/android/help/byteconverter.html...
link: You land on this page by clicking on ByteConverter in the Libraries tab, but differently from...
link: Library will be included as an internal library in the next versions of B4A and B4J. Similar impleme...
B4R Question Different behaviour of ByteConverter.ArrayCopy in different boards - hatzisn    
Sep 25, 2021 Serial1 As Serial
Dim bc As ByteConverter
End Sub
Private Sub AppStart
Serial1.Initialize...
link: I ended up in this conclusion because of what is written in the explanation of ByteConverter...
link: The conclusion is wrong. It will also fail in Arduino in many other cases.
The compiler allocated 2...
link:
Or use arraycopy2 where you can specify how many bytes to copy.
Yes I know this. I just wanted to...
Share My Creation [Project Template] User Login Server - aeric    
Oct 15, 2025   
(12 reactions) up email.
Database:
SQLite
MySQL
Depends on:
ByteConverter v1.10
jNet v1.81
Encryption v1.10...
B4i Question [solved] "Build failed" fatal error: 'ByteConverter.h' file not found - fredo    
Dec 28, 2020: 'ByteConverter.h' file not found
#import "ByteConverter.h"
^~~~~~~~~~~~~~~~~
CompileC.../b4i_myhelper.h:2:9: fatal error: 'ByteConverter.h' file not found
#import.../b4i_scrollinglabel.h:2:9: fatal error: 'ByteConverter.h' file not found
#import "ByteConverter.h...
link:
... you added a mysterious library ...
Thanks for the tip!
I have in careless enthusiasm bluntly selected the libraries used in ...
link: The error happens because you added a mysterious library named ByteConverter. There is no...
Bug? [Solved] ByteConverter library not found - Emme Developer    
May 2, 2020As attached image shows, i am not able to use ByteConverter. Am i missing something or ByteConverter is not in part of RandomAccessFile?...
link:
ByteConverter is an additional libray, it's not part of the RandomAccessFile library!
Sorry...
link: ByteConverter is an additional libray, it's not part of the RandomAccessFile library!...
Wish ByteConverter <whatever>fromBytes would take a buffer length - Robert Valentino    
Apr 16, 2020I am trying to reuse the same buffer over and over in reading from SD card
ByteConverter allows:
dim Temp() as ULong = BC.ULongsFromBytes(mBuffer)
The length that Temp has it the complete length of buffer. Would be nice if Byteconverter allowed a length when specifying the buffer...
link: Sweet...
link:
dim Temp() as ULong = BC.ULongsFromBytes(BC.SubString2(mBuffer, 0, 4))
...
B4J Question Hex to int with ByteConverter - Drago Bratko (first post)    
May 4, 2024Thanks to all.
Just to give response to others who may need it, both ways (Daestrum and emexes solut...
link:
hex string to integer
Is there an issue with eg Bit.ParseInt(Str, 16) ?
ParseInt (Value As Strin...
link: Just add
Sub TestHexToInt(Str As String)
If Str.Length < 8 Then
Str = "00000000...
link: Check the length of b(). You only seem to be specifying two bytes but ByteConverter needs four...
B4R Question Help with ByteConverter - daveinhull (first post)    
Dec 1, 2023Many thanks @Daestrum , couldn't see for looking...
link: If it works the same way as in B4J then it wants an array passed to it.
Dim bytes() As Byte = Array As Byte(1)
Log(bc.HexFro...
link: trying to use ByteConverter which has never happened before, and I just can't see what I'm...
B4R Question Bad Results from ByteConverter - teddybear (first post)    
May 12, 2023   
(1 reaction)
I get strange results from ByteConverter:
141921what is the problem?
Try this code
Dim..., IsNumber(floatStr))
Dim bc As ByteConverter
Dim f As Float = bc.StringFromBytes(floatStr...
link: Thank you all for the hints!
I also cleaned the project but the output still was the same.
Running ...
link: Have you tried
Dim floatStr() As Byte = "12.34".GetBytes
(I can't test it as I have...
link: What exactly are you trying to do? I think assigning a string to a byte array is where you are going...
Bug? Strange results of ByteConverter - Erel (first post)    
May 10, 2023   
(1 reaction)Not a bug. Please post it in the questions forum....
link: The ByteConverter functions do not work on my board:
141891
What could be the problem?...
Page: 1  
2  
3  
4  
5  
6