brotli 0.1.0 brotli: ^0.1.0 copied to clipboard
Brotli decoder for Dart.
Brotli #
Brotli decoder for Dart.
Installation #
In pubspec.yaml
add the following dependency:
dependencies:
brotli: ^0.1.0
Example #
import 'dart:io';
import 'package:brotli/brotli.dart';
const codec = BrotliCodec();
void main() {
final output = codec.decodeToString(File("./brotli.br").readAsBytesSync());
print(output);
}