bit_vector 0.1.0 bit_vector: ^0.1.0 copied to clipboard
A pure Dart memory-efficient packed representation for bit arrays
example/bit_vector_example.dart
// Copyright (c) 2016, kseo. All rights reserved. Use of this source code
// is governed by a BSD-style license that can be found in the LICENSE file.
import 'package:bit_vector/bit_vector.dart';
main() {
BitVector v = new BitVector();
v.set(68);
print(v.get(68)); // true
v.toggle(68);
print(v.get(68)); // false
}