UNPKG
@faouzkk/baileys
Version:
latest (5.0.2)
5.0.2
5.0.1
5.0.0
4.0.0
3.0.0
2.0.1
2.0.0
1.0.2
1.0.1
1.0.0
0.0.1
WhatsApp API
github.com/WhiskeySockets/Baileys
@faouzkk/baileys
/
lib
/
WABinary
/
encode.d.ts
5 lines
(4 loc)
•
282 B
TypeScript
View Raw
1
2
3
4
5
/// <reference types="node" />
/// <reference types="node" />
import
type
{
BinaryNode
,
BinaryNodeCodingOptions
}
from
'./types'
;
export
declare
const
encodeBinaryNode
:
(
node
:
BinaryNode
,
opts
?:
Pick
<
BinaryNodeCodingOptions
,
'TAGS'
|
'TOKEN_MAP'
>,
buffer
?:
number
[]
) =>
Buffer
;