Preparing search index...
The search index is not available
zigbee-herdsman
zigbee-herdsman
adapter/zigate/driver/buffaloZiGate
default
Class default
Hierarchy (
View Summary
)
Buffalo
default
Index
Constructors
constructor
Methods
get
Buffer
get
Position
get
Written
is
More
read
read
Buffer
read
DoubleLE
read
FloatLE
read
Ieee
Addr
read
Ieee
AddrBE
read
Int16
read
Int24
read
Int32
read
Int40
read
Int48
read
Int56
read
Int64
read
Int8
read
ListUInt16
read
ListUInt16BE
read
ListUInt24
read
ListUInt32
read
ListUInt8
readUInt16
readUInt16BE
readUInt24
readUInt32
readUInt32BE
readUInt40
readUInt48
readUInt56
readUInt64
readUInt8
read
Utf8
String
write
write
Buffer
write
DoubleLE
write
FloatLE
write
Ieee
Addr
write
Ieee
AddrBE
write
Int16
write
Int24
write
Int32
write
Int40
write
Int48
write
Int56
write
Int64
write
Int8
write
ListUInt16
write
ListUInt16BE
write
ListUInt24
write
ListUInt32
write
ListUInt8
write
Raw
writeUInt16
writeUInt16BE
writeUInt24
writeUInt32
writeUInt32BE
writeUInt40
writeUInt48
writeUInt56
writeUInt64
writeUInt8
write
Utf8
String
Constructors
constructor
new
default
(
buffer
:
Buffer
,
position
?:
number
)
:
default
Parameters
buffer
:
Buffer
position
:
number
= 0
Returns
default
Methods
get
Buffer
getBuffer
()
:
Buffer
Returns
Buffer
get
Position
getPosition
()
:
number
Returns
number
get
Written
getWritten
()
:
Buffer
Returns
Buffer
is
More
isMore
()
:
boolean
Returns
boolean
read
read
(
type
:
default
,
options
:
BuffaloZiGateOptions
)
:
unknown
Parameters
type
:
default
options
:
BuffaloZiGateOptions
Returns
unknown
read
Buffer
readBuffer
(
length
:
number
)
:
Buffer
Parameters
length
:
number
Returns
Buffer
read
DoubleLE
readDoubleLE
()
:
number
Returns
number
read
FloatLE
readFloatLE
()
:
number
Returns
number
read
Ieee
Addr
readIeeeAddr
()
:
`
0x
${
string
}
`
Returns
`
0x
${
string
}
`
read
Ieee
AddrBE
readIeeeAddrBE
()
:
`
0x
${
string
}
`
Returns
`
0x
${
string
}
`
read
Int16
readInt16
()
:
number
Returns
number
read
Int24
readInt24
()
:
number
Returns
number
read
Int32
readInt32
()
:
number
Returns
number
read
Int40
readInt40
()
:
number
Returns
number
read
Int48
readInt48
()
:
number
Returns
number
read
Int56
readInt56
()
:
bigint
Returns
bigint
read
Int64
readInt64
()
:
bigint
Returns
bigint
read
Int8
readInt8
()
:
number
Returns
number
read
ListUInt16
readListUInt16
(
length
:
number
)
:
number
[]
Parameters
length
:
number
Returns
number
[]
read
ListUInt16BE
readListUInt16BE
(
length
:
number
)
:
number
[]
Parameters
length
:
number
Returns
number
[]
read
ListUInt24
readListUInt24
(
length
:
number
)
:
number
[]
Parameters
length
:
number
Returns
number
[]
read
ListUInt32
readListUInt32
(
length
:
number
)
:
number
[]
Parameters
length
:
number
Returns
number
[]
read
ListUInt8
readListUInt8
(
length
:
number
)
:
number
[]
Parameters
length
:
number
Returns
number
[]
readUInt16
readUInt16
()
:
number
Returns
number
readUInt16BE
readUInt16BE
()
:
number
Returns
number
readUInt24
readUInt24
()
:
number
Returns
number
readUInt32
readUInt32
()
:
number
Returns
number
readUInt32BE
readUInt32BE
()
:
number
Returns
number
readUInt40
readUInt40
()
:
number
Returns
number
readUInt48
readUInt48
()
:
number
Returns
number
readUInt56
readUInt56
()
:
bigint
Returns
bigint
readUInt64
readUInt64
()
:
bigint
Returns
bigint
readUInt8
readUInt8
()
:
number
Returns
number
read
Utf8
String
readUtf8String
(
length
:
number
)
:
string
Parameters
length
:
number
Returns
string
write
write
(
type
:
default
,
value
:
any
,
options
:
BuffaloZiGateOptions
)
:
void
Parameters
type
:
default
value
:
any
options
:
BuffaloZiGateOptions
Returns
void
write
Buffer
writeBuffer
(
values
:
number
[]
|
Buffer
,
length
:
number
)
:
void
Parameters
values
:
number
[]
|
Buffer
length
:
number
Returns
void
write
DoubleLE
writeDoubleLE
(
value
:
number
)
:
void
Parameters
value
:
number
Returns
void
write
FloatLE
writeFloatLE
(
value
:
number
)
:
void
Parameters
value
:
number
Returns
void
write
Ieee
Addr
writeIeeeAddr
(
value
:
string
)
:
void
Parameters
value
:
string
Returns
void
write
Ieee
AddrBE
writeIeeeAddrBE
(
value
:
string
)
:
void
Parameters
value
:
string
Returns
void
write
Int16
writeInt16
(
value
:
number
)
:
void
Parameters
value
:
number
Returns
void
write
Int24
writeInt24
(
value
:
number
)
:
void
Parameters
value
:
number
Returns
void
write
Int32
writeInt32
(
value
:
number
)
:
void
Parameters
value
:
number
Returns
void
write
Int40
writeInt40
(
value
:
number
)
:
void
Parameters
value
:
number
Returns
void
write
Int48
writeInt48
(
value
:
number
)
:
void
Parameters
value
:
number
Returns
void
write
Int56
writeInt56
(
value
:
bigint
)
:
void
Parameters
value
:
bigint
Returns
void
write
Int64
writeInt64
(
value
:
bigint
)
:
void
Parameters
value
:
bigint
Returns
void
write
Int8
writeInt8
(
value
:
number
)
:
void
Parameters
value
:
number
Returns
void
write
ListUInt16
writeListUInt16
(
values
:
number
[]
)
:
void
Parameters
values
:
number
[]
Returns
void
write
ListUInt16BE
writeListUInt16BE
(
values
:
number
[]
)
:
void
Parameters
values
:
number
[]
Returns
void
write
ListUInt24
writeListUInt24
(
values
:
number
[]
)
:
void
Parameters
values
:
number
[]
Returns
void
write
ListUInt32
writeListUInt32
(
values
:
number
[]
)
:
void
Parameters
values
:
number
[]
Returns
void
write
ListUInt8
writeListUInt8
(
values
:
number
[]
)
:
void
Parameters
values
:
number
[]
Returns
void
write
Raw
writeRaw
(
value
:
Buffer
)
:
void
Parameters
value
:
Buffer
Returns
void
writeUInt16
writeUInt16
(
value
:
number
)
:
void
Parameters
value
:
number
Returns
void
writeUInt16BE
writeUInt16BE
(
value
:
number
)
:
void
Parameters
value
:
number
Returns
void
writeUInt24
writeUInt24
(
value
:
number
)
:
void
Parameters
value
:
number
Returns
void
writeUInt32
writeUInt32
(
value
:
number
)
:
void
Parameters
value
:
number
Returns
void
writeUInt32BE
writeUInt32BE
(
value
:
number
)
:
void
Parameters
value
:
number
Returns
void
writeUInt40
writeUInt40
(
value
:
number
)
:
void
Parameters
value
:
number
Returns
void
writeUInt48
writeUInt48
(
value
:
number
)
:
void
Parameters
value
:
number
Returns
void
writeUInt56
writeUInt56
(
value
:
bigint
)
:
void
Parameters
value
:
bigint
Returns
void
writeUInt64
writeUInt64
(
value
:
bigint
)
:
void
Parameters
value
:
bigint
Returns
void
writeUInt8
writeUInt8
(
value
:
number
)
:
void
Parameters
value
:
number
Returns
void
write
Utf8
String
writeUtf8String
(
value
:
string
)
:
void
Parameters
value
:
string
Returns
void
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
get
Buffer
get
Position
get
Written
is
More
read
read
Buffer
read
DoubleLE
read
FloatLE
read
Ieee
Addr
read
Ieee
AddrBE
read
Int16
read
Int24
read
Int32
read
Int40
read
Int48
read
Int56
read
Int64
read
Int8
read
ListUInt16
read
ListUInt16BE
read
ListUInt24
read
ListUInt32
read
ListUInt8
readUInt16
readUInt16BE
readUInt24
readUInt32
readUInt32BE
readUInt40
readUInt48
readUInt56
readUInt64
readUInt8
read
Utf8
String
write
write
Buffer
write
DoubleLE
write
FloatLE
write
Ieee
Addr
write
Ieee
AddrBE
write
Int16
write
Int24
write
Int32
write
Int40
write
Int48
write
Int56
write
Int64
write
Int8
write
ListUInt16
write
ListUInt16BE
write
ListUInt24
write
ListUInt32
write
ListUInt8
write
Raw
writeUInt16
writeUInt16BE
writeUInt24
writeUInt32
writeUInt32BE
writeUInt40
writeUInt48
writeUInt56
writeUInt64
writeUInt8
write
Utf8
String
zigbee-herdsman
Loading...