| 19 | */ |
| 20 | |
| 21 | export default class Resource extends Native("Resource_destructor") { |
| 22 | constructor(path) { super(); native("Resource_constructor").call(this, path); } |
| 23 | static exists(path) { return native("Resource_exists").call(this, path); } |
| 24 | get byteLength() { return native("Resource_get_byteLength").call(this); } |
| 25 | slice(begin, end) { return native("Resource_slice").call(this, begin, end); } |
| 26 | } |
nothing calls this directly
no outgoing calls
no test coverage detected