Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kseo/bit_vector
A pure Dart memory-efficient packed representation for bit arrays
https://github.com/kseo/bit_vector
Last synced: 27 days ago
JSON representation
A pure Dart memory-efficient packed representation for bit arrays
- Host: GitHub
- URL: https://github.com/kseo/bit_vector
- Owner: kseo
- License: bsd-3-clause
- Created: 2016-10-10T09:49:40.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2016-11-05T15:54:16.000Z (about 8 years ago)
- Last Synced: 2023-08-20T21:28:33.497Z (about 1 year ago)
- Language: Dart
- Homepage: https://pub.dartlang.org/packages/bit_vector
- Size: 19.5 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# bit_vector
[![Pub Package](https://img.shields.io/pub/v/bit_vector.svg)](https://pub.dartlang.org/packages/bit_vector)
[![Build Status](https://travis-ci.org/kseo/bit_vector.svg?branch=master)](https://travis-ci.org/kseo/bit_vector)A pure Dart memory-efficient packed representation for bit arrays.
## Examples
```dart
import 'package:bit_vector/bit_vector.dart';main() {
BitVector v = new BitVector();
v.set(68);
print(v[68]); // true
v.toggle(68);
print(v[68]); // false
}
```