Module

std/node/os.ts>endianness

Deno standard library
Go to Latest
function endianness
import { endianness } from "https://dotland.deno.dev/std@0.177.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"