> ## Documentation Index
> Fetch the complete documentation index at: https://baileys.wiki/llms.txt
> Use this file to discover all available pages before exploring further.

# encodeBigEndian

> Function encodeBigEndian in the Baileys API.

> **encodeBigEndian**(`e`, `t`): `Uint8Array`\<`ArrayBuffer`>

Defined in: [src/Utils/generics.ts:89](https://github.com/WhiskeySockets/Baileys/blob/master/src/Utils/generics.ts#L89)

## Parameters

### e

`number`

### t

`number` = `4`

## Returns

`Uint8Array`\<`ArrayBuffer`>
