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

BytesFormat.format

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

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

§Parameters

§
bytes: Uint8Array
[src]
  • The byte sequence.
§
options?: BytesFormat.Options optional
[src]

§Return Type

§
string
[src]

The formatted string represents a byte sequence.