UNPKG
baileys-mod
Version:
latest (6.8.5)
6.8.5
6.8.4
6.8.3
6.8.2
6.8.1
6.8.1-beta
6.8.1-1
Custom Baileys WhatsApp API
github.com/nstar-y/bail
baileys-mod
/
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
;