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

x/sdeno/deps.ts>os.endianness

Steno on Deno. Specialized fast async file writer.
Go to Latest
function os.endianness
import { os } from "https://deno.land/x/sdeno@v1.0.11/deps.ts";
const { endianness } = os;

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"