binary 0.0.1 copy "binary: ^0.0.1" to clipboard
binary: ^0.0.1 copied to clipboard

outdatedDart 1 only

Utilities for working with binary data

binary #

Utilities for working with binary data in Dart.

Pub Build Status Coverage Status documentation

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.