Skip to main content
Module

std/node/os.ts>endianness

Deno standard library
Go to Latest
function endianness
import { endianness } from "https://deno.land/std@0.158.0/node/os.ts";

Returns a string identifying the endianness of the CPU for which the Deno binary was compiled. Possible values are 'BE' for big endian and 'LE' for little endian.

Returns

"BE" | "LE"