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

Utilities for accessing binary data and bit manipulation in Dart.

example/README.md

Examples #

This directory contains examples of how to use package:binary.

Basic #

A simple example of how to use package:binary to parse and shift bits.

$ dart example/basic.dart

127
00000011

Checksum #

Calculates the CRC32 checksum of a file.

$ dart example/checksum.dart example/checksum.dart

CRC32 checksum: 13b53c2f

Bitfield #

Demonstrates decoding binary data efficiently, i.e. opcodes or binary formats.

$ dart example/bitfield.dart

11011101

Kind:  00001101
S:     00000001
Level: 00000010
P:     00000001
23
likes
160
pub points
91%
popularity

Publisher

verified publisherlurey.dev

Utilities for accessing binary data and bit manipulation in Dart.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

meta

More

Packages that depend on binary