Skip to content

Not totally new but a file format for managing human readable data in a file. C# version.

License

Notifications You must be signed in to change notification settings

opdev1004/totcs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🥇 Tot CS

Tot is a database file format for managing string data in a file. I would like to say markup-like database without indexing. It is using stream and position to efficiently track where the data is. And it is designed to handle massive data. But developer has full control over limitting the size of data in one tag. Eg. 65536 bytes in one tag. Tot is for replacing some jobs that database, JSON and XML do.

👨‍🏫 Notice

🎉 Releasing version 0.0.7

PLEASE USE THE LATEST VERSION.

  1. Now Clean() will not create extra .tmp file for reserving changes. It still creates 1 .tmp file as a backup for safety.
  2. GetMultipleData() is now GetMultiple() please update them. Queued version is changed as well. Change to QGetMultiple().
  3. SaveDictAsTot(), SaveListAsTot(), QSaveDictAsTot(), QSaveListAsTot(), GetAllByDict(), GetAllByList, QGetAllByDict() and QGetAllByList.

📢 Changes and deprecation in the future

In the future, GetAll() may get deprecated or changed. Try GetAllByDict(), GetAllByList, QGetAllByDict() and QGetAllByList for your project.

📢 About how you handle data writes

Some cases Tot can cause lots of writing. It is sill better than writing whole file every time. I recommend avoid using HardRemove() or HardUpdate(). They only exist for small files. It is always better when we modify small data with Update() and Remove(). And use Clean() like once a day, a week or a month.

📖 Documents

Please read the rule of format for more information about Tot file format.

🛠 Requirements

Tot CS is built with .net 8.0 and Windows 10. I cannot guarantee that this will work in older versions of Windows or other OS and with other tools.

💪 Support Tot CS

👼 Become a Sponsor

🎁 Shop

👨‍💻 Author

Victor Chanil Park

💯 License

MIT, See LICENSE.

About

Not totally new but a file format for managing human readable data in a file. C# version.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Languages