11 lines
218 B
TypeScript
11 lines
218 B
TypeScript
|
async function readFromStdin() {
|
||
|
const buffer = new Uint8Array(8192);
|
||
|
const n = await Deno.stdin.read(buffer);
|
||
|
return new TextDecoder().decode(buffer.subarray(0, n!));
|
||
|
}
|
||
|
|
||
|
async function main() {
|
||
|
}
|
||
|
|
||
|
main();
|