Format byte amounts in human readable form.

Usage

A simple usage example:

import 'package:format_bytes/format_bytes.dart';

main() {
  print(format(1024)); // 1 KiB
}

Features and bugs

Please file feature requests and bugs at the issue tracker.

Libraries

format_bytes
Format raw byte amounts as pretty strings.