UNPKG
baileys-md
Version:
latest (5.0.5)
5.0.5
5.0.0
WhatsApp API
github.com/adiwajshing/Baileys
baileys-md
/
lib
/
WABinary
/
encode.d.ts
4 lines
(3 loc)
•
266 B
TypeScript
View Raw
1
2
3
4
/// <reference types="node" />
import
type
{
BinaryNode
,
BinaryNodeCodingOptions
}
from
'./types'
;
export
declare
const
encodeBinaryNode
:
(
{ tag, attrs, content }:
BinaryNode
,
opts
?:
Pick
<
BinaryNodeCodingOptions
,
'TAGS'
|
'TOKEN_MAP'
>,
buffer
?:
number
[]
) =>
Buffer
;