binary_converter 0.0.1 copy "binary_converter: ^0.0.1" to clipboard
binary_converter: ^0.0.1 copied to clipboard

A lightweight Dart package providing utility functions for converting numbers between common numeral systems (binary, octal, decimal, and hexadecimal).

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.0.1 - 2025-07-20 #

Added #

  • Initial release of the binary_conversion package.
  • Implemented BinaryConverter class with comprehensive methods for:
    • Binary to Decimal, Octal, Hexadecimal conversions.
    • Decimal to Binary, Octal, Hexadecimal conversions.
    • Octal to Binary, Decimal conversions.
    • Hexadecimal to Binary, Decimal conversions.
  • Included robust input validation for all conversion methods.
  • Utilized Dart's built-in int.parse(radix:) and int.toRadixString() for efficient decimal conversions. Implemented custom logic for direct binary-to-octal/hexadecimal and vice-versa conversions using bit grouping.
1
likes
150
points
25
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A lightweight Dart package providing utility functions for converting numbers between common numeral systems (binary, octal, decimal, and hexadecimal).

Repository (GitHub)
View/report issues

License

MIT (license)

More

Packages that depend on binary_converter