| OLD | NEW |
| (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 } |
| OLD | NEW |