RandomAccessFile. WriteObject (Object As Object, Compress As Boolean, Position As Long)Writes the given object to the stream.This method is capable of writing the following types of objects: Lists, Arrays, Maps, Strings, primitive types and user defined types. Combinations of these types are also supported. For example, a map with several lists of arrays can be written. The element type inside a collection must be a String or primitive type. Note that changing your package name may make older objects files unusable (requiring you to write them again). Object - The object that will be written. Compress - Whether to compress the data before writing it. Should be true in most cases. Position - The position in the file that this object will be written to. Bug? RandomAccessFile.WriteObject for List have activity Obj. - Erel (first post)    Jan 4, 2018 What is IsL?
Why are you using ReadObject instead of ReadB4XObject / WriteB4XObject?... B4A Question Randomaccessfile compression - grafsoft    Aug 12, 2015 What is the compression method of randomaccessfile.writeobject? I need to decrypt it in PHP. Or should I use CompressedStreams?... B4J Question Error writing to MySQL database - This method does not support arrays of primitives. - Declan    Apr 26, 2024 .b4a.randomaccessfile.B4XSerializator.writeObject(B4XSerializator.java:241) at anywheresoftware....b4a.randomaccessfile.B4XSerializator.writeObject(B4XSerializator.java:221) at anywheresoftware....B4XSerializator.writeObject(B4XSerializator.java:224) at anywheresoftware.b4a.randomaccessfile.B4XSerializator.WriteObject(B4XSerializator.java:121) at anywheresoftware.b4a.randomaccessfile.... at anywheresoftware.b4a.randomaccessfile.B4XSerializator.writeObject(B4XSerializator.java:233... B4A Question [Solved]How to save a list of arrays? - ronell (first post)    Sep 16, 2019   (1 reaction) use randomaccessfile library randomaccessfile.writeobject search the forum for samples... B4A Tutorial KeyValueStore class - Simple and efficient key/value data store - Erel    Feb 17, 2016   (16 reactions)   tags: KeyValueStore RandomAccessFile.WriteObject to save the object in the store. 'It is capable of writing... class uses an SQLite database to store and retrieve all kinds of values. It uses RandomAccessFile.WriteObject or WriteEncryptedObject to save collections and user types. Using KeyValueStore.... The class is included in the attached example. It depends on the SQL and RandomAccessFile libraries... B4A Question KeyValueStore v2.30 Error - TimN    Apr 30, 2021 .writeObject(B4XSerializator.java:213) at anywheresoftware.b4a.randomaccessfile.B4XSerializator....writeObject(B4XSerializator.java:224) at anywheresoftware.b4a.randomaccessfile.B4XSerializator.writeMap(B4XSerializator.java:256) at anywheresoftware.b4a.randomaccessfile.B4XSerializator.writeObject...(B4XSerializator.java:256) at anywheresoftware.b4a.randomaccessfile.B4XSerializator.writeObject...(B4XSerializator.java:256) at anywheresoftware.b4a.randomaccessfile.B4XSerializator.writeObject... B4A Library RandomAccessFile - V1.10 - Read/Write objects - Erel    Apr 10, 2011 This is a beta version of an important new feature. Two new methods were added to RandomAccessFile: WriteObject and ReadObject. These methods allow you to write and read objects to files easily. The following types of objects are supported: lists, maps, arrays, strings, primitive types (numeric..., writing an array to a file: Dim raf As RandomAccessFile raf.Initialize(File.DirRootExternal, "1.dat", False) Dim arr(10) As Int 'fill the array... raf.WriteObject(arr... B4A Question read/write list view - Erel (first post)    Jan 29, 2015 You cannot serialize a ListView. See the supported types: https://www.b4x.com/android/help/randomaccessfile.html#randomaccessfile_writeobject... B4A Question Out of Memory Error on writing file:Play store crash report - thedesolatesoul    Dec 5, 2012 ) at anywheresoftware.b4a.randomaccessfile.RandomAccessFile.writeObject(RandomAccessFile.java:438...) at anywheresoftware.b4a.randomaccessfile.RandomAccessFile.writeObject(RandomAccessFile.java:442...) at anywheresoftware.b4a.randomaccessfile.RandomAccessFile.writeObject(RandomAccessFile.java:430....b4a.randomaccessfile.RandomAccessFile.writeObject(RandomAccessFile.java:442) at anywheresoftware....b4a.randomaccessfile.RandomAccessFile.writeObject(RandomAccessFile.java:430) at anywheresoftware... B4A Question trouble using map, where is my error ? - thedesolatesoul (first post)    May 28, 2014   (1 reaction) :mad: ... so I have to retrieve the values as a single string and then split it Thanks Not necessarily. Look at ReadObject/WriteObject from RandomAccessFile. http://www.b4x.com/android/help/randomaccessfile.html#randomaccessfile_writeobject... Page: 1   2   3   4   5   6   7   |