Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 51d3fae

Browse files
Revert "Move BytesBuilder class and implementation to dart:typed_data."
This reverts commit 084f9fa. Reason for revert: Breaks ABI without relevant version updates Original change's description: > Move `BytesBuilder` class and implementation to `dart:typed_data`. > > Change-Id: I3e66e61940a1060e4970427799e0d8ebdaebb310 > Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/150523 > Commit-Queue: Lasse R.H. Nielsen <lrn@google.com> > Reviewed-by: Nate Bosch <nbosch@google.com> TBR=lrn@google.com,nbosch@google.com Change-Id: I2b79063b7ff70de7ce039283a10d56460594a6ab No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/154563 Reviewed-by: Ryan Macnak <rmacnak@google.com>
1 parent e7b3196 commit 51d3fae

File tree

11 files changed

+239
-252
lines changed

11 files changed

+239
-252
lines changed

CHANGELOG.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,6 @@
5858

5959
[#41653]: https://github.com/dart-lang/sdk/issues/41653
6060

61-
#### `dart:typed_data`
62-
63-
* Class `BytesBuilder` originally from `dart:io` is now available
64-
in `dart:typed_data`. It's still exported from `dart:io` as well.
65-
6661
### Tools
6762

6863
#### dartfmt

sdk/lib/_internal/vm/bin/common_patch.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import "dart:math" show min;
3333

3434
import "dart:nativewrappers" show NativeFieldWrapperClass1;
3535

36-
import "dart:typed_data" show Uint8List, BytesBuilder;
36+
import "dart:typed_data" show Uint8List;
3737

3838
/// These are the additional parts of this patch library:
3939
// part "directory_patch.dart";

sdk/lib/internal/bytes_builder.dart

Lines changed: 0 additions & 240 deletions
This file was deleted.

sdk/lib/internal/internal.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ import 'dart:math' show Random;
2121
import 'dart:typed_data' show Uint8List;
2222

2323
part 'async_cast.dart';
24-
part 'bytes_builder.dart';
2524
part 'cast.dart';
2625
part 'errors.dart';
2726
part 'iterable.dart';

sdk/lib/internal/internal_sources.gni

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ internal_sdk_sources = [
88

99
# The above file needs to be first as it lists the parts below.
1010
"async_cast.dart",
11-
"bytes_builder.dart",
1211
"cast.dart",
1312
"errors.dart",
1413
"iterable.dart",

0 commit comments

Comments
 (0)