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

outdated

Pure Dart Brotli decoder.

Brotli #

Pure Dart Brotli decoder.

Installation #

In pubspec.yaml add the following dependency:

dependencies:
  brotli: ^0.4.0

Example #

import 'dart:io';

import 'package:brotli/brotli.dart';

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