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

std/encoding/binary.ts>sizeof

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function sizeof
Deprecated
Deprecated

(will be removed after 0.205.0) Number of bytes required to store dataType.

import { sizeof } from "https://deno.land/std@0.202.0/encoding/binary.ts";