cunarist / rinf

Rust for native business logic, Flutter for flexible and beautiful GUI
MIT License
1.99k stars 72 forks source link

Blob field #149

Closed temeddix closed 1 year ago

temeddix commented 1 year ago

Changes

Added a blob field for large binary objects that should be treated separately from message. This provides more flexibility and allows for more fine-tuned control.

For example, when you send a large image or a huge float array from Rust to Dart via streams, you might want to distinguish which kind of image it is. having a separate message and blob field solves this issue.

Before Committing

Please make sure that you've formatted the files.

dart format .
cargo clippy --fix