https://github.com/tiagohm/brotli
Pure Dart Brotli decoder
https://github.com/tiagohm/brotli
brotli brotli-decoder dart flutter
Last synced: 6 months ago
JSON representation
Pure Dart Brotli decoder
- Host: GitHub
- URL: https://github.com/tiagohm/brotli
- Owner: tiagohm
- License: mit
- Created: 2019-12-26T18:35:12.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-05-15T03:01:39.000Z (over 2 years ago)
- Last Synced: 2025-03-29T09:12:17.077Z (7 months ago)
- Topics: brotli, brotli-decoder, dart, flutter
- Language: Dart
- Homepage: https://pub.dev/packages/brotli
- Size: 6.56 MB
- Stars: 12
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Brotli

[](https://github.com/tiagohm/brotli/actions/workflows/ci.yml)Pure Dart Brotli decoder.
## Installation
In `pubspec.yaml` add the following dependency:
```yaml
dependencies:
brotli: ^0.6.0
```## Example
```dart
import 'dart:io';import 'package:brotli/brotli.dart';
void main() {
final output = brotli.decodeToString(File("./brotli.br").readAsBytesSync());
print(output);
}
```