[oden] Native IO module

This commit is contained in:
John Doty 2023-06-30 06:28:04 -07:00
parent f7ed78ce3b
commit 4959adc7e6
3 changed files with 20 additions and 1 deletions

11
src/io.ts Normal file
View file

@ -0,0 +1,11 @@
import * as core from "io-core";
/**
* Load the specified file into memory.
*
* @param path The path of the file to load.
* @returns The contents of the file.
*/
export function load(path: string): Promise<ArrayBuffer> {
return core.load(path);
}