UNPKG
anju-xpro-baileys
Version:
latest (9.0.1)
9.0.1
9.0.0
8.6.0
8.5.12
WhatsApp API
xpro-botz-ofc.vercel.app
anju-xpro-baileys
/
lib
/
WABinary
/
encode.d.ts
5 lines
(4 loc)
•
278 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
;