Hi,
using Win 10 and Dolphin 7.1.20 (32 bit off course)
Are there any known limitation when storing Objects serialized into a disk file, like as mentioned in the help example:
S := FileStream write:'Test.STB' text: false.
(STBOutFiler on: S) nextPut: X; S close.
... I was thinking of the long back Win32 4gb limitation in some cases if relevant.
also is there a way to quickly switch between binary form and some sort of near textual form, of the files stored, just to verify what is being stored. Without disturbing much code
Thanks
Sanjay
Hi Sanjay - I'm not aware of any limits on STB file size beyond the OS file size limit you mention.
Regarding your second question, STON can be used to serialize objects in a text-based format (STON is essentialy a superset of JSON). See the STON-Core package comment for more details.
Regards,
John Aspinall
On Saturday, August 21, 2021 at 5:12:26 AM UTC+1, sanjay...@gmail.com wrote:
Hi,
using Win 10 and Dolphin 7.1.20 (32 bit off course)
Are there any known limitation when storing Objects serialized into a disk file, like as mentioned in the help example:
S := FileStream write:'Test.STB' text: false.
(STBOutFiler on: S) nextPut: X; S close.
... I was thinking of the long back Win32 4gb limitation in some cases if relevant.
also is there a way to quickly switch between binary form and some sort of near textual form, of the files stored, just to verify what is being stored. Without disturbing much code
Thanks
Sanjay
Hi Sanjay - I'm not aware of any limits on STB file size beyond the OS file size limit you mention.
Regarding your second question, STON can be used to serialize objects in a text-based format (STON is essentialy a superset of JSON). See the STON-Core package comment for more details.
Regards,
John Aspinall
On Saturday, August 21, 2021 at 5:12:26 AM UTC+1, sanjay...@gmail.com wrote:
Hi,
using Win 10 and Dolphin 7.1.20 (32 bit off course)
Are there any known limitation when storing Objects serialized into a disk file, like as mentioned in the help example:
S := FileStream write:'Test.STB' text: false.
(STBOutFiler on: S) nextPut: X; S close.
... I was thinking of the long back Win32 4gb limitation in some cases if relevant.
also is there a way to quickly switch between binary form and some sort of near textual form, of the files stored, just to verify what is being stored. Without disturbing much code
Thanks
Sanjay
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 296 |
Nodes: | 16 (2 / 14) |
Uptime: | 84:45:00 |
Calls: | 6,658 |
Calls today: | 4 |
Files: | 12,203 |
Messages: | 5,333,608 |
Posted today: | 1 |