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 Library [python] B4XSerializator implementation in Python - Erel Jan 15, 2025 (11 reactions) Python is a very nice programming language and it rules several domains such as data science, machine learning, large language models and etc. There are alternative Java frameworks for these fields, however they are less popular, less powerful and also less friendly. For this reason, I decided to bu 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 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 how i can send a "struct" with the UDP.Send(Packet) - Erel (first post) Nov 29, 2017 (1 reaction) B4XSerializator is only relevant if you are sending the data to another B4X app.
It is a custom serialization. It is not the same as converting a C struct to bytes based on its memory layout. 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 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 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 B4A Tutorial [B4X] [B4XPages] Network + AsyncStreams + B4XSerializator - Erel Jun 30, 2020 (28 reactions) https://www.b4x..png 95652 https://www.b4x..png Cross platform version, based on B4XPages, of the network example: https://www.b4x.com/android/forum/threads/b4x-network-asyncstreams-b4xserializator.72149/#content It is so much simpler to use B4XPages that it feels like cheating :) All of the cod Page: 1 2 3 4 5 6 7 Powered by ColBERT |