Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(768)

Side by Side Diff: sdk/lib/io/bytes_builder.dart

Issue 2974433002: Remaining private libs (Closed)
Patch Set: It's html_common Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sdk/lib/internal/symbol.dart ('k') | sdk/lib/io/common.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of "io.dart"; 5 part of "dart:io";
6 6
7 /** 7 /**
8 * Builds a list of bytes, allowing bytes and lists of bytes to be added at the 8 * Builds a list of bytes, allowing bytes and lists of bytes to be added at the
9 * end. 9 * end.
10 * 10 *
11 * Used to efficiently collect bytes and lists of bytes. 11 * Used to efficiently collect bytes and lists of bytes.
12 */ 12 */
13 abstract class BytesBuilder { 13 abstract class BytesBuilder {
14 /** 14 /**
15 * Construct a new empty [BytesBuilder]. 15 * Construct a new empty [BytesBuilder].
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 223
224 bool get isEmpty => _length == 0; 224 bool get isEmpty => _length == 0;
225 225
226 bool get isNotEmpty => _length != 0; 226 bool get isNotEmpty => _length != 0;
227 227
228 void clear() { 228 void clear() {
229 _length = 0; 229 _length = 0;
230 _chunks.clear(); 230 _chunks.clear();
231 } 231 }
232 } 232 }
OLDNEW
« no previous file with comments | « sdk/lib/internal/symbol.dart ('k') | sdk/lib/io/common.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698