Skip to content
pubscout

msgpack_dart

1.0.1, released 4 years ago by iocave.net

MessagePack implementation for Dart

WASM-ready
$ flutter pub add msgpack_dart
Source repository

What it does

Provides serialization and deserialization for the MessagePack binary serialization format in Dart. It converts Dart objects to binary data and back without relying on dart:io.

AI-written summary of version 1.0.1, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to serialize data using MessagePack for compact binary transmission or storage
  • You require cross-platform serialization that works on the web as well as native platforms

Skip it when

  • You only need standard JSON serialization which is already built into Dart
  • You need complex code generation models for serialization

Strengths

  • Clean and simple API
  • No external dependencies
  • Works on all platforms including web

Weaknesses

  • No code generation support
  • Limited documentation beyond basic usage

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
0

Not documented

not documented

Alternatives

Packages that do the same job and could replace msgpack_dart.

Works with

Packages commonly used together with msgpack_dart: ones it builds on, ones built on it, and its own family.