This commit is contained in:
lollipopkit
2023-03-18 00:09:24 +08:00
parent 350d248776
commit 3f3240040a
14 changed files with 27 additions and 14 deletions

View File

@@ -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 {