B4A Library [B4X] .Net Framework implementation of B4XSerializator - Erel    Mar 20, 2020   (24 reactions) B4XSerializator is included in the internal RandomAccessFile library. The attached dll is for .Net Framework applications.
B4XSerializator is a great tool that makes it simple to share data between B4A, B4i and B4J. It takes care of converting objects, including complex objects, to bytes and vice ve B4R Tutorial [B4X] B4RSerializator - Send and receive objects instead of bytes - Erel    Apr 24, 2017   (19 reactions) B4R v1.50 includes a new type named B4RSerializator (in rRandomAccessFile library).
B4RSerializator solves a difficult and common task. Sending messages with multiple fields to other platforms.
B4RSerializator takes an array of objects with numbers, strings and arrays of bytes and returns an array B4J Question What is the best way to keep variables available in each form in b4j - MarkusR (first post)    Jun 04, 2019   (1 reaction) because often u have a class with functionality & data and typically you will save/load this by a own Sub or the easy way as Object to File.
b4xserializator is also a cool way for transport a object (or object list) via network from app to app. B4A Tutorial [B4X] Network + AsyncStreams + B4XSerializator - Erel    Jun 30, 2020   (27 reactions) This is a simple and important example. It demonstrates several good practices related to network communication.
1. The network related code is in the Starter service. The network state is also stored in the starter service.
2. The Activity is only responsible for the UI.
3. Using B4XSerializator i B4A Question Type, Class or Module? - Erel (first post)    Nov 07, 2016   (2 reactions) B4XSerializator deals with missing fields and also deals with different package names (in that case the types must be declared in the Main module).
There are two types of usages for B4XSerializator:
- Communication with another process or device.
- Persisting data.
In the later case you do need to B4J Library [B4x] B4xBitSet_Utils Serialize a B4xBitSet - stevel05    Apr 29, 2023   (1 reaction) I had a need to save the state of a B4xBitSet so I thought I should serializable its data. The easiest method and compatible with B4xSerializator, was to create a list of Int values representing the bits. I considered using a byte array but without adding complexity, that would mean that the BitSet B4J Library [B4X] KVS2 / KeyValueStore 2 - Simple & Powerful Local Datastore - Erel    Jul 16, 2020   (41 reactions) Recommended to use the newer b4xlib: https://www.b4x.com/android/forum/threads/b4x-kvs2-keyvaluestore2-library.120234/
KeyValueStore is a persistent key/value based data store. It is similar to the useful Map collection, however unlike Map which stores the data in memory, KVS stores the data in a da B4J Code Snippet Python B4XSerializator - jtare    Oct 20, 2024   (8 reactions) If you ever need to send B4X objects from Python service to a B4X app/service or vice versa, this might be helpful. By using the opensource code of B4J and B4A on GitHub, along with some assistance from ChatGPT o1 model, I created a Python class to make it possible. Yes, you should be using JSON or B4J Question About B4XSerializator - Erel (first post)    Apr 05, 2016   (2 reactions) B4XSerializator doesn't encrypt the data.
It takes objects and converts them (serializes them) to bytes.
You can use your own serialization method if you want to interact with a non-B4X program. B4A Tutorial [B4X] CloudKVS - synchronized key / value store - Erel (first post)    Mar 29, 2016   (3 reactions) You can only send bytes over the network. Serialization is the process of converting data or objects to bytes. B4XSerializator is very useful as it makes it easy to convert complex objects to bytes (and later convert the bytes back to objects).
Using B4XSerializator also allows us to store (almost) Page: 1   2   3   4   5   6   7   Powered by ColBERT |