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

std/ws/mod.ts>unmask

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function unmask
import { unmask } from "https://deno.land/std@0.99.0/ws/mod.ts";

Unmask masked websocket payload

Parameters

payload: Uint8Array
optional
mask: Uint8Array