mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 23:34:24 +01:00
opt.
This commit is contained in:
@@ -3,6 +3,7 @@ import 'dart:typed_data';
|
||||
|
||||
extension FutureUint8ListX on Future<Uint8List> {
|
||||
Future<String> get string async => utf8.decode(await this);
|
||||
Future<ByteData> get byteData async => (await this).buffer.asByteData();
|
||||
}
|
||||
|
||||
extension Uint8ListX on Uint8List {
|
||||
|
||||
Reference in New Issue
Block a user