Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 549 Bytes

README.md

File metadata and controls

28 lines (19 loc) · 549 Bytes

Brotli

Pub Version CI

Pure Dart Brotli decoder.

Installation

In pubspec.yaml add the following dependency:

dependencies:
  brotli: ^0.6.0

Example

import 'dart:io';

import 'package:brotli/brotli.dart';

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