ASCII85 Encoder API - Dart/Flutter Client

ASCII85 Encoder is a tool for encoding and decoding data using ASCII85 (also known as Base85) encoding. It supports both standard and btoa formats for efficient binary-to-text encoding with better compression than Base64.

pub package License: MIT

This is the Dart/Flutter client for the ASCII85 Encoder API.

Installation

Add this to your pubspec.yaml:

dependencies:
  apiverve_ascii85encoder: ^1.1.14

Then run:

dart pub get
# or for Flutter
flutter pub get

Usage

import 'package:apiverve_ascii85encoder/apiverve_ascii85encoder.dart';

void main() async {
  final client = Ascii85encoderClient('YOUR_API_KEY');

  try {
    final response = await client.execute({
      'text': 'Hello World',
      'action': 'encode',
      'format': 'standard'
    });

    print('Status: ${response.status}');
    print('Data: ${response.data}');
  } catch (e) {
    print('Error: $e');
  }
}

Response

{
  "status": "ok",
  "error": null,
  "data": {
    "original_text": "Hello World",
    "encoded": "87cURD]i,\"Ebo7",
    "format": "standard",
    "original_length": 11,
    "encoded_length": 14,
    "compression_ratio": "127.27%"
  }
}

API Reference

Authentication

All requests require an API key. Get yours at apiverve.com.

License

MIT License - see LICENSE for details.


Built with Dart for APIVerve

Libraries

apiverve_ascii85encoder
ASCII85 Encoder API client for Dart/Flutter