binary 4.0.0-alpha+7 copy "binary: ^4.0.0-alpha+7" to clipboard
binary: ^4.0.0-alpha+7 copied to clipboard

Utilities for accessing binary data and bit manipulation in Dart and Flutter

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
0
pub points
90%
popularity

Publisher

verified publisherlurey.dev

Utilities for accessing binary data and bit manipulation in Dart and Flutter

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

meta

More

Packages that depend on binary