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

Side by Side Diff: runtime/bin/filter_impl.dart

Issue 11275035: Introduce (private) ZLibFilter to dart:io. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Move bufferlength out as a top level constant. Created 8 years, 1 month 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
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.
4
5
6 class _FilterImpl extends NativeFieldWrapperClass1 implements _Filter {
7 _FilterImpl() {
8 _init();
9 }
10
11 void process(List<int> data) native "Filter_Process";
12
13 List<int> processed([bool flush = false]) native "Filter_Processed";
14
15 void end() native "Filter_End";
16 }
17
18 class _GZipDeflateFilterImpl extends _FilterImpl {
19 void _init() native "Filter_CreateGZipDeflate";
20 }
21
22 class _ZLibInflateFilterImpl extends _FilterImpl {
23 void _init() native "Filter_CreateZLibInflate";
24 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698