binary

Utilities for working with binary data in Dart.

Build Status Coverage Status

Usage

This library supports an Integral data type for fluent bit manipulation:

print(uint8.toBinaryPadded(196)); // '11000100'

Because of Dart's ability to do advanced inlining in both the Dart VM and dart2js, this library should perform well and be extremely easy to use for most use cases. For example, it's used in an arm7_tdmi emulator.

See the dartdocs for more about the API.

Libraries

binary

Utilities for common binary and bit operations.