LucaMs Expert Licensed User Longtime User May 7, 2014 #1 Do you think that is possible enter any type of data in a BLOB field?
Erel B4X founder Staff member Licensed User Longtime User May 7, 2014 #2 Any object that can be serialized into an array of bytes can be inserted to a BLOB field. Check KeyValueStore. This is more or less how it works. Upvote 0
Any object that can be serialized into an array of bytes can be inserted to a BLOB field. Check KeyValueStore. This is more or less how it works.
LucaMs Expert Licensed User Longtime User May 7, 2014 #3 Yes, it was what I thought, but I did not remember that KeyValueStore worked in this way. I should also take a look at the ByteConverter library; it seems to me that it works on arrays. Thank you, Erel Upvote 0
Yes, it was what I thought, but I did not remember that KeyValueStore worked in this way. I should also take a look at the ByteConverter library; it seems to me that it works on arrays. Thank you, Erel
Erel B4X founder Staff member Licensed User Longtime User May 8, 2014 #4 RandomAccessFile.WriteObject (and KeyValueStore) handle arrays as well as other types of collections (including collections that hold other collections). Upvote 0
RandomAccessFile.WriteObject (and KeyValueStore) handle arrays as well as other types of collections (including collections that hold other collections).
LucaMs Expert Licensed User Longtime User May 8, 2014 #5 Yes, thanks, I studied that code. I wrote that the library ByteConverter does not convert single variables, it seems to me. I will be using your method Upvote 0
Yes, thanks, I studied that code. I wrote that the library ByteConverter does not convert single variables, it seems to me. I will be using your method