Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

BytesFormat.parse

import { BytesFormat } from "https://raw.githubusercontent.com/i-xi-dev/bytes.es/4.4.2/deps.ts"; 

const { parse } = BytesFormat;
function parse(formattedBytes: string, options?: BytesFormat.Options): Uint8Array;
§
parse(formattedBytes: string, options?: BytesFormat.Options): Uint8Array
[src]

§Parameters

§
formattedBytes: string
[src]
  • The formatted string represents a byte sequence.
§
options?: BytesFormat.Options optional
[src]

§Return Type

§
Uint8Array
[src]

The byte sequence represented by formattedBytes.