UNPKG
acz.view.src
Version:
latest (3.1.4)
3.1.4
2.1.4
WhatsApp API Mod
www.npmjs.com/package/acz.view.src
acz.view.src
/
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
;