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

outdated

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);
}