jovial_misc 0.1.1
jovial_misc: ^0.1.1 copied to clipboard

Dart native
Flutter Android iOS

Miscellaneous Dart libraries, including interoperability with java.io.DataInputStream and java.io.DataOutputStream.

Miscellaneous small-ish bits of Dart code. It's mostly for my own use, buy you're welcome to it. Please attribute it if you do, e.g. with a link to https://jovial.com/bill.html. Offered under the MIT license.

Created from templates made available by Stagehand under a BSD-style license.

Usage #

A simple usage example:

import 'package:convert/convert.dart';
import 'package:jovial_misc/io_utils.dart';

void main() async {
  final acc = ByteAccumulatorSink();
  final out = DataOutputSink(acc);
  out.writeUTF8('Hello, world.');
  out.close();

  final stream = Stream<List<int>>.fromIterable([acc.bytes]);
  final dis = DataInputStream(stream);
  print(await dis.readUTF8());
  await dis.close();
}

Features and bugs #

Please file feature requests and bugs at the issue tracker.

1
likes
80
pub points
42%
popularity

Publisher

jovial.com

Miscellaneous Dart libraries, including interoperability with java.io.DataInputStream and java.io.DataOutputStream.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE.txt)

Dependencies

async, collection, convert, intl, pointycastle

More

Packages that depend on jovial_misc