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

x/earthstar/src/util/buffers.ts>identifyBufOrBytes

Earthstar is a tool for private, undiscoverable, offline-first networks.
Go to Latest
function identifyBufOrBytes
import { identifyBufOrBytes } from "https://deno.land/x/earthstar@v10.0.0-alpha.4/src/util/buffers.ts";

Parameters

bufOrBytes: Buffer | Uint8Array

Returns

string