Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeasn1lib

Encodes and decodes ASN.1 objects using BER byte encoding in Dart.

pub.devRemove
flutter_charset_detector

Detect and decode the character encoding of text bytes automatically.

pub.devRemove
ScoresHealth85 (best)69
Maintenance95 (best)66
Quality9697 (best)
Popularity77 (best)48
Community4546 (best)
Compatibility100 (best)88
UsageDownloads (30 days)2.6M (best)7.4k
Likes2730 (best)
Pub points150 / 160160 / 160 (best)
GitHub stars32 (best)20
MaintenanceLatest release1.6.8, 3 weeks ago (best)6.0.0, 6 months ago
Major versions in 12 months0 (best)1
Contributors18 (best)2
PublisherUnverifiedmadlon-kay.com
FitPlatformsAll (pure Dart)Android, iOS, Web, macOS
WASM-readyYesYes
KindPure DartPlugin (native code)
Code generationNoNo
Direct dependencies0 (best)4
LicenseBSD-2-CLAUSEMPL-2.0
Setup effortLowLow
JudgementStrengths
  • Zero external dependencies, running on pure Dart across all platforms
  • Recent updates address security issues like CPU exhaustion, stack overflows, and integer overflows on untrusted inputs
  • Provides a relaxed parsing mode for gracefully handling unsupported or nested structures
  • Supports multiple platforms including Android, iOS, macOS, and Web.
  • Automatically determines character sets using proven Mozilla-derived libraries.
Weaknesses
  • Minimal support for ASN.1 Application, Context-specific, and Private classes requiring manual casting
  • Detection accuracy depends on the underlying native libraries and input size.
  • Detectable charsets differ slightly between platforms.
WarningsNone
  • File-level copyleft
  • Native setup
asn1lib vs flutter_charset_detector: which Flutter package should you use? | pubscout