random_access_source 1.0.0 copy "random_access_source: ^1.0.0" to clipboard
random_access_source: ^1.0.0 copied to clipboard

Shared interfaces for random access data.

example/random_access_source_example.dart

import 'dart:typed_data';

import 'package:random_access_source/random_access_source.dart';

void main() async {
  final source = BytesRASource(Uint8List.fromList([1, 2, 3, 4, 5]));
  print(await source.length());
  print(await source.readByte());
  print(await source.read(2));
  print(await source.position());
  await source.close();
}
0
likes
0
points
343
downloads

Publisher

verified publisherflutter-cavalry.com

Weekly Downloads

Shared interfaces for random access data.

Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on random_access_source