msgpack2 2.0.0+1 msgpack2: ^2.0.0+1 copied to clipboard
MsgPack for Dart. MsgPack is an efficient binary serialization format which allows you to exchange data among multiple languages similar to JSON. This version is compatible with Dart 2.x
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add msgpack2
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
msgpack2: ^2.0.0+1
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:msgpack2/msgpack2.dart';