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

# decodeBinaryNode

> Function decodeBinaryNode in the Baileys API.

> **decodeBinaryNode**(`buff`): `Promise`\<[`BinaryNode`](/api-reference/type-aliases/BinaryNode)>

Defined in: [src/WABinary/decode.ts:305](https://github.com/WhiskeySockets/Baileys/blob/master/src/WABinary/decode.ts#L305)

## Parameters

### buff

`Buffer`

## Returns

`Promise`\<[`BinaryNode`](/api-reference/type-aliases/BinaryNode)>
