static Pointer<Uint8> generateUint8ListPointer(Uint8List types) {
final blob = calloc<Uint8>(types.length);
final blobBytes = blob.asTypedList(types.length);
blobBytes.setAll(0, types);
return blob;
}
flutter Uint8List to Pointer<Uint8>
于 2024-04-29 17:52:22 首次发布