Search packages, repositories and app categories

Package detailsv2.0.1

message_pack_dart

MessagePack implementation for dart. MessagePack is an efficient binary serialization format. It lets you exchange data among multiple languages like JSON.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
112K
Likes
5
Pub points
140

Install package

flutter pub add message_pack_dart

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

MessagePack for Dart is a binary serialization library that efficiently encodes and decodes data in the MessagePack format. Designed for cross-language compatibility, it offers a compact alternative to JSON with faster parsing and smaller payloads. Ideal for high-performance applications requiring efficient data exchange between systems, it supports all major platforms including mobile, web, and desktop. The package integrates seamlessly into Flutter projects via pub.

Use cases

  • Real-time data transmission
  • Cross-platform app communication
  • Efficient API payload compression
  • Interoperability with non-Dart services
  • Low-latency messaging systems

Key features

  • Binary serialization with small size
  • Fast encoding and decoding
  • Cross-language compatibility
  • Supports all Flutter platforms
  • Lightweight and performant

Suitable for

  • High-performance apps
  • Network-heavy applications
  • Data interchange across languages
  • Mobile and web apps needing compact payloads
  • Systems prioritizing speed and bandwidth

Considerations

  • Not human-readable like JSON
  • Requires careful handling of type mismatches
  • Limited documentation compared to JSON libraries
  • May need additional validation for complex data structures
  • Less common than JSON in some ecosystems

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

messagePack_dart

pub package

A MessagePack implementation for dart/Flutter MessagePack.

MessagePack is an efficient binary serialization format. It lets you exchange data among multiple languages like JSON. But it's faster and smaller. Small integers are encoded into a single byte, and typical short strings require only one extra byte in addition to the strings themselves.

Categories

Source repository

Projects using this package