Skip to main content

t_binary 2.0.0 copy "t_binary: ^2.0.0" to clipboard
t_binary: ^2.0.0 copied to clipboard

TBinary is a Dart-based library designed to create a high-performance custom binary file format, capable of handling header metadata, an optional cover, multiple file entries, and large file data effi [...]

2.0.0 #

🆕 Version 2.0.0 #

🔹 Breaking Changes #

  • Updated Binary Data Structure to support extended metadata and compression.
  • Old archives created with v1.0.0 are not compatible with v2.0.0 format.

🔹 New Features #

🧩 ZLibEncoder & ZLibDecoder Integration

English:
Added compression and decompression support using ZLibEncoder and ZLibDecoder from Dart’s dart:io library.

  • ZLibEncoder compresses file data before writing to the binary archive, reducing file size and saving storage space.
  • ZLibDecoder decompresses the data when extracting, restoring files to their original state.
    This improves storage efficiency and maintains fast read/write performance.

မြန်မာဘာသာ:
Version 2 မှာ dart:io library ထဲက ZLibEncoder နဲ့ ZLibDecoder ကိုအသုံးပြုပြီး ဖိုင်ချုံ့ခြင်းနဲ့ ဖြေခြင်း လုပ်နိုင်အောင် ထပ်တိုး ထည့်သွင်းထားပါတယ်။

  • ZLibEncoder က ဖိုင်ကို archive ထဲသို့ သိမ်းမယ့်အခါ data ကိုချုံ့ပေးတာကြောင့် file size လျှော့ချနိုင်ပြီး storage space သက်သာစေပါတယ်။
  • ZLibDecoder က ဖိုင်ပြန်ဖတ်တဲ့အခါ ချုံ့ထားတဲ့ data ကိုပြန်ဖြေပြီး မူလအတိုင်း ပြန်ရအောင်လုပ်ပေးပါတယ်။

ဒီ feature အသစ်ကြောင့် binary file format ဟာ ပိုပြီး compact ဖြစ်သလို read/write speed လည်း မြန်ပါတယ်။

🔹 Added API Functions #

  • Added TBinary.addEntry() → Append new file entries into existing binary archive.
  • Added TBinary.deleteEntry() → Remove existing entries safely from archive and rebuild structure.

1.0.0 #

  • Initial version.
0
likes
145
points
9
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

TBinary is a Dart-based library designed to create a high-performance custom binary file format, capable of handling header metadata, an optional cover, multiple file entries, and large file data efficiently using streaming techniques.

Repository (GitHub)
View/report issues

License

MIT (license)

More

Packages that depend on t_binary