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

x/dtils/fs.ts>readBinary

The best unofficial library of utilities for Deno applications
Go to Latest
function readBinary
Deprecated
Deprecated

Will be removed in next major release. Use readBytes instead

import { readBinary } from "https://deno.land/x/dtils@2.4.0/fs.ts";

Parameters

file: string

Returns

Promise<Uint8Array>