H Holger Brauer Member Licensed User Mar 23, 2016 #1 Hello, when using the audiostreamer the result is a list of bytes. I have tried to convert this list into a string (for saving in a mysql-db) and later to re-convert this string into a list of bytes for playback again (for sending small voice messages). Does anyone have an idea ? Best regards Holger
Hello, when using the audiostreamer the result is a list of bytes. I have tried to convert this list into a string (for saving in a mysql-db) and later to re-convert this string into a list of bytes for playback again (for sending small voice messages). Does anyone have an idea ? Best regards Holger
Erel B4X founder Staff member Licensed User Longtime User Mar 23, 2016 #2 One option is to use RDC to connect to the database and store the data as blob (without any conversion). The second option is to encode it as string with StringUtils.EncodeBase64. Upvote 0
One option is to use RDC to connect to the database and store the data as blob (without any conversion). The second option is to encode it as string with StringUtils.EncodeBase64.
H Holger Brauer Member Licensed User Mar 23, 2016 #3 Hi Erel, using EncodeBase64 was my first idea too, but storing as a blob seems to be the better solution. Best regards Holger Upvote 0
Hi Erel, using EncodeBase64 was my first idea too, but storing as a blob seems to be the better solution. Best regards Holger