Module

std/node/os.ts

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