OLD | NEW |
| (Empty) |
1 // Copyright (c) 2011, 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 // WARNING: Do not edit - generated code. | |
6 | |
7 class _FileWriterSyncWrappingImplementation extends DOMWrapperBase implements Fi
leWriterSync { | |
8 _FileWriterSyncWrappingImplementation() : super() {} | |
9 | |
10 static create__FileWriterSyncWrappingImplementation() native { | |
11 return new _FileWriterSyncWrappingImplementation(); | |
12 } | |
13 | |
14 int get length() { return _get_length(this); } | |
15 static int _get_length(var _this) native; | |
16 | |
17 int get position() { return _get_position(this); } | |
18 static int _get_position(var _this) native; | |
19 | |
20 void seek(int position) { | |
21 _seek(this, position); | |
22 return; | |
23 } | |
24 static void _seek(receiver, position) native; | |
25 | |
26 void truncate(int size) { | |
27 _truncate(this, size); | |
28 return; | |
29 } | |
30 static void _truncate(receiver, size) native; | |
31 | |
32 void write(Blob data) { | |
33 _write(this, data); | |
34 return; | |
35 } | |
36 static void _write(receiver, data) native; | |
37 | |
38 String get typeName() { return "FileWriterSync"; } | |
39 } | |
OLD | NEW |