| 1 | class Update extends Native("xs_update_destructor") { |
| 2 | constructor() {throw new TypeError} |
| 3 | close() { return native("xs_update_close").call(this); } |
| 4 | complete() { return native("xs_update_complete").call(this); } |
| 5 | |
| 6 | write(buffer, byteOffset) { return native("xs_update_write").call(this, buffer, byteOffset); } |
| 7 | |
| 8 | get format() { return native("xs_update_get_format").call(this); } |
| 9 | set format(value) { native("xs_update_set_format").call(this, value); } |
| 10 | |
| 11 | static { |
| 12 | this.prototype[Symbol.dispose] = this.prototype.close; |
| 13 | } |
| 14 | } |
| 15 | |
| 16 | function open(options, prototype) { return native("xs_update_open").call(this, options, prototype); } |
| 17 |
nothing calls this directly
no outgoing calls
no test coverage detected