dart-sdk/sdk/lib/io
Martin Kustermann 11d820890e Use utf8.encode() instead of longer const Utf8Encoder.convert()
The change in [0] has propagated now everywhere, so we can use
`utf8.encode()` instead of the longer `const Utf8Encoder.convert()`.

As the checked-in SDK has been rolled to include [0] we can now rely on
the better return type.

[0] https://github.com/dart-lang/sdk/issues/52801

TEST=ci

CoreLibraryReviewExempt: Minor cleanup.
Change-Id: I2c0144023e03b2c265582d83a7fb9469b02f1570
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/313563
Reviewed-by: Lasse Nielsen <lrn@google.com>
Commit-Queue: Martin Kustermann <kustermann@google.com>
Reviewed-by: Ben Konyi <bkonyi@google.com>
2023-07-24 09:28:38 +00:00
..
common.dart Add PathExistsException and PathAccessException FileSystemException subclasses. 2022-11-30 04:54:52 +00:00
data_transformer.dart Removed Non Null Check 2023-06-15 13:01:25 +00:00
directory.dart Improve comments of Directory methods 2023-04-27 09:40:30 +00:00
directory_impl.dart [io/file] - add FileSystemNotFoundException 2022-11-08 19:26:19 +00:00
embedder_config.dart [embedder] Clean up deprecated secure connection enforcement mechanism. 2022-06-29 16:59:25 +00:00
eventhandler.dart [Core Libraries] Eliminate the fork in the core libraries. 2020-06-16 23:37:36 +00:00
file.dart Add tests to ensure that \n is not translated to the platform line ending and document that behavior. 2023-05-24 18:50:29 +00:00
file_impl.dart Add interface to a few classes which had missed it. 2023-05-24 14:04:27 +00:00
file_system_entity.dart Use utf8.encode() instead of longer const Utf8Encoder.convert() 2023-07-24 09:28:38 +00:00
io.dart Tiny code cleanup: Remove _asyncRunZoned being an alias of runZoned 2023-07-11 11:37:57 +00:00
io_resource_info.dart Expose the members of _ProcessImpl to avoid dynamic invocations. 2022-09-16 21:28:30 +00:00
io_service.dart Implement anonymous pipes and the ability to transmit them between processes using Unix Domain Sockets. 2022-09-13 21:16:28 +00:00
io_sink.dart Mention that IOSink truncates List<int> to bytes 2023-06-27 19:39:01 +00:00
io_sources.gni [embedder] Clean up deprecated secure connection enforcement mechanism. 2022-06-29 16:59:25 +00:00
link.dart Add Dart 3 class modifiers to dart:io. 2023-04-04 19:06:21 +00:00
namespace_impl.dart [Core Libraries] Eliminate the fork in the core libraries. 2020-06-16 23:37:36 +00:00
network_profiling.dart Revert "[vm] Mark _registerServiceExtension entrypoint conditional on being non-product mode" 2023-03-21 13:02:29 +00:00
overrides.dart Use utf8.encode() instead of longer const Utf8Encoder.convert() 2023-07-24 09:28:38 +00:00
platform.dart Remove some getters for final fields 2023-05-19 00:52:57 +00:00
platform_impl.dart [pkg/vm] Initial work on constant operating system fields and getters. 2023-02-10 16:29:50 +00:00
process.dart Add Dart 3 class modifiers to dart:io. 2023-04-04 19:06:21 +00:00
secure_server_socket.dart Add ServerSocketBase to remove dynamic invocations of secure sockets in _HttpServer. 2022-11-10 22:28:48 +00:00
secure_socket.dart Add Dart 3 class modifiers to dart:io. 2023-04-04 19:06:21 +00:00
security_context.dart Add Dart 3 class modifiers to dart:io. 2023-04-04 19:06:21 +00:00
service_object.dart [flip-modifiers]: Reapply "Enforce current library restrictions." 2023-03-03 09:37:38 +00:00
socket.dart Add Dart 3 class modifiers to dart:io. 2023-04-04 19:06:21 +00:00
stdio.dart Additional dart:io class modifier changes. 2023-04-04 21:08:07 +00:00
string_transformer.dart Additional dart:io class modifier changes. 2023-04-04 21:08:07 +00:00
sync_socket.dart Add Dart 3 class modifiers to dart:io. 2023-04-04 19:06:21 +00:00