bson_codec 0.1.0 copy "bson_codec: ^0.1.0" to clipboard
bson_codec: ^0.1.0 copied to clipboard

outdatedDart 1 only

A BSDON codec for Dart.

example/bson_codec_example.dart

// Copyright (c) 2016, Kwang Yul Seo. All rights reserved. Use of this source code
// is governed by a BSD-style license that can be found in the LICENSE file.

import 'dart:io';

import 'package:bson_codec/bson_codec.dart';

main() {
  List<int> bytes = new File('sample.bson').readAsBytesSync();
  final o = BSON.decode(bytes);
  print(o);
}
0
likes
30
pub points
0%
popularity

Publisher

unverified uploader

A BSDON codec for Dart.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (LICENSE)

Dependencies

bson_objectid, collection

More

Packages that depend on bson_codec