Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

std/encoding/binary.ts>sizeof

Deno standard library
Go to Latest
function sizeof
import { sizeof } from "https://deno.land/std@0.41.0/encoding/binary.ts";

Returns the number of bytes required to store the given data-type.

Parameters

dataType: RawTypes

Returns

number