UNPKG
@whiskeysockets/baileys
Version:
latest (6.7.18)
6.17.16
6.7.18
6.7.17
6.7.16
6.7.15
6.7.14
6.7.13
6.7.12
6.7.11
6.7.10
6.7.9
6.7.8
6.7.7
6.7.6
6.7.5
6.7.4
6.7.3
6.7.2
6.7.1
6.7.0
6.6.0
6.5.0
6.4.2
6.4.1
6.4.0
6.3.1
6.3.0
6.2.1
6.2.0
6.1.0
6.0.1
6.0.0
A WebSockets library for interacting with WhatsApp Web
github.com/WhiskeySockets/Baileys/
@whiskeysockets/baileys
/
lib
/
WABinary
/
encode.d.ts
3 lines
(2 loc)
•
216 B
TypeScript
View Raw
1
2
3
import
type
{
BinaryNode
,
BinaryNodeCodingOptions
}
from
'./types'
;
export
declare
const
encodeBinaryNode
:
(
node
:
BinaryNode
,
opts
?:
Pick
<
BinaryNodeCodingOptions
,
"TAGS"
|
"TOKEN_MAP"
>,
buffer
?:
number
[]
) =>
Buffer
;