Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/simple_ipc/deps.ts

A simple and lightweight IPC module for Deno.
Latest
import * as simpleIpc from "https://deno.land/x/simple_ipc@v0.1.3/deps.ts";

Functions

Read Reader r until EOF (null) and resolve to the content as Uint8Array`.

Decodes a number from r, consuming sizeof(o.dataType) bytes. If less than sizeof(o.dataType) bytes were read, throws Deno.errors.unexpectedEof.

Returns the system wide temporary directory path for each platform.

Convert from UTF-8 byte array to unicode string.

Convert from unicode string to UTF-8 byte array.

Write all the content of the array buffer (arr) to the writer (w).

Encodes and writes x to w. Resolves to the number of bytes written.

Type Aliases

Possible types of JSON.