brotli 0.2.1 copy "brotli: ^0.2.1" to clipboard
brotli: ^0.2.1 copied to clipboard

outdated

Brotli decoder for Dart.

Brotli #

Brotli decoder for Dart.

Installation #

In pubspec.yaml add the following dependency:

dependencies:
  brotli: ^0.2.1

Example #

import 'dart:io';

import 'package:brotli/brotli.dart';

void main() {
  final output = brotli.decodeToString(File("./brotli.br").readAsBytesSync());
  print(output);
}