apiverve_ascii85encoder 1.2.0
apiverve_ascii85encoder: ^1.2.0 copied to clipboard
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 com [...]
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.
This is the Dart/Flutter client for the ASCII85 Encoder API.
Installation #
Add this to your pubspec.yaml:
dependencies:
apiverve_ascii85encoder: ^1.2.0
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 #
- API Home: ASCII85 Encoder API
- Documentation: docs.apiverve.com/ref/ascii85encoder
Authentication #
All requests require an API key. Get yours at apiverve.com.
License #
MIT License - see LICENSE for details.
Built with Dart for APIVerve