zigbee-herdsman
Preparing search index...
adapter/deconz/types
Decoder
Class Decoder
Index
Constructors
constructor
Methods
decode
Constructors
constructor
new
Decoder
(
options
:
{
bufferSize
:
number
;
maxMessageSize
:
number
;
onError
:
(
msgBuffer
:
Uint8Array
,
errorMsg
:
string
)
=>
void
;
onMessage
:
(
msg
:
Uint8Array
)
=>
void
;
}
,
)
:
Decoder
Parameters
options
:
{
bufferSize
:
number
;
maxMessageSize
:
number
;
onError
:
(
msgBuffer
:
Uint8Array
,
errorMsg
:
string
)
=>
void
;
onMessage
:
(
msg
:
Uint8Array
)
=>
void
;
}
Returns
Decoder
Methods
decode
decode
(
data
:
Buffer
<
ArrayBufferLike
>
|
ArrayLike
<
Uint8Array
<
ArrayBufferLike
>
>
,
)
:
Uint8Array
Parameters
data
:
Buffer
<
ArrayBufferLike
>
|
ArrayLike
<
Uint8Array
<
ArrayBufferLike
>
>
Returns
Uint8Array
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
decode
zigbee-herdsman
Loading...