super_raw 0.1.0 copy "super_raw: ^0.1.0" to clipboard
super_raw: ^0.1.0 copied to clipboard

A package for writing, reading, and debugging binary data efficiently in Dart.

super_raw #

Pub License: MIT Dart 3.0+

A lightweight, high-performance binary data library for Dart.
Easily write, read, and debug binary data with flexible byte-level control.


πŸš€ Features #

  • ✳️ RawWriter for writing binary data efficiently
  • ✳️ RawReader for reading binary data back
  • ✳️ Support for:
    • Integers (signed/unsigned, variable-length)
    • Floating-point numbers
    • UTF-8 strings (null-terminated and standard)
    • Custom codec interfaces (SelfEncoder, SelfDecoder)
  • πŸ§ͺ Fully unit tested and compatible with Dart 3.8.1

πŸ“¦ Installation #

Add this to your pubspec.yaml:

dependencies:
  super_raw: ^0.1.0

Then run:

dart pub get

πŸ’‘ Example #

import 'package:super_raw/raw.dart';

void main() {
  final writer = RawWriter.withCapacity(8);
  writer.writeUint8(1);
  writer.writeUint8(2);

  print(writer.toUint8ListView()); // [1, 2]
}

πŸ§ͺ Run tests #

dart test

πŸ—ΊοΈ Roadmap #

  • Add RawReader streaming API
  • Provide example-based docs on pub.dev
  • Add benchmarking utilities

πŸ“„ License #

Released under the MIT License.

1
likes
150
points
0
downloads

Publisher

unverified uploader

Weekly Downloads

A package for writing, reading, and debugging binary data efficiently in Dart.

Repository (GitHub)
View/report issues

Topics

#binary #io #codec #data

Documentation

API reference

License

MIT (license)

Dependencies

collection, fixnum, matcher, meta

More

Packages that depend on super_raw