FLUTTER ECOSYSTEM

tiagohm/brotli

Pure Dart Brotli decoder

brotli project cover
Stars
13
Forks
1
Last push (UTC)
May 15, 2023
Project status
Active
Tiago GitHub avatar
GITHUB User

Tiago ↗

Itajubá - MG, BrazilOfficial website ↗
LanguagesDart

Technical topics

Packages published by this repository

Dependencies used

Dependency list 2 items

Original README

English project snapshot. Visit GitHub for the latest content.

Expand / collapse project README

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