Skip to main content
Module

std/uuid/_common.ts>stringToBytes

Deno standard library
Go to Latest
function stringToBytes
import { stringToBytes } from "https://deno.land/std@0.139.0/uuid/_common.ts";

Converts a string to a byte array using the char code.

Parameters

str: string

Value that gets converted.

Returns

number[]