Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/rsocket/deps.ts>encode

🦕RSocket Deno module
Latest
function encode
import { encode } from "https://deno.land/x/rsocket@0.3.0/deps.ts";

Shorthand for new TextEncoder().encode()

Parameters

optional
input: string

Returns

Uint8Array