Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
}
```