blob: 43a200d869e3f05ee3086347955896fd46da9ef7 [file] [log] [blame]
// Copyright (c) 2022, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import "dart:convert";
import "dart:isolate";
main(List<String> args, SendPort replyPort) {
final String encoded = base64.encode(args[0].codeUnits);
replyPort.send(String.fromCharCodes(base64.decode(encoded)));
}