QuestDB JavaScript Client - v5.0.0
GitHub
QuestDB
Preparing search index...
@questdb/nodejs-client
QwpByteReader
Class QwpByteReader
A bounds-checked, runtime-neutral little-endian byte reader.
Index
Constructors
constructor
Properties
bytes
Accessors
position
remaining
Methods
expect
End
read
Big
Int64
read
Big
Uint64
read
Bytes
read
Float32
read
Float64
read
Int16
read
Int32
read
Int8
read
Uint16
read
Uint32
read
Uint8
read
Utf8
Constructors
constructor
new
QwpByteReader
(
bytes
:
Uint8Array
,
offset
?:
number
,
length
?:
number
,
)
:
QwpByteReader
Parameters
bytes
:
Uint8Array
offset
:
number
= 0
length
:
number
= ...
Returns
QwpByteReader
Properties
Readonly
bytes
bytes
:
Uint8Array
Accessors
position
get
position
()
:
number
Returns
number
remaining
get
remaining
()
:
number
Returns
number
Methods
expect
End
expectEnd
(
label
?:
string
)
:
void
Parameters
label
:
string
= "QWP payload"
Returns
void
read
Big
Int64
readBigInt64
(
label
?:
string
)
:
bigint
Parameters
label
:
string
= "int64"
Returns
bigint
read
Big
Uint64
readBigUint64
(
label
?:
string
)
:
bigint
Parameters
label
:
string
= "uint64"
Returns
bigint
read
Bytes
readBytes
(
length
:
number
,
label
?:
string
)
:
Uint8Array
Parameters
length
:
number
label
:
string
= "bytes"
Returns
Uint8Array
read
Float32
readFloat32
(
label
?:
string
)
:
number
Parameters
label
:
string
= "float32"
Returns
number
read
Float64
readFloat64
(
label
?:
string
)
:
number
Parameters
label
:
string
= "float64"
Returns
number
read
Int16
readInt16
(
label
?:
string
)
:
number
Parameters
label
:
string
= "int16"
Returns
number
read
Int32
readInt32
(
label
?:
string
)
:
number
Parameters
label
:
string
= "int32"
Returns
number
read
Int8
readInt8
(
label
?:
string
)
:
number
Parameters
label
:
string
= "int8"
Returns
number
read
Uint16
readUint16
(
label
?:
string
)
:
number
Parameters
label
:
string
= "uint16"
Returns
number
read
Uint32
readUint32
(
label
?:
string
)
:
number
Parameters
label
:
string
= "uint32"
Returns
number
read
Uint8
readUint8
(
label
?:
string
)
:
number
Parameters
label
:
string
= "uint8"
Returns
number
read
Utf8
readUtf8
(
length
:
number
,
label
?:
string
)
:
string
Parameters
length
:
number
label
:
string
= "UTF-8 string"
Returns
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
bytes
Accessors
position
remaining
Methods
expect
End
read
Big
Int64
read
Big
Uint64
read
Bytes
read
Float32
read
Float64
read
Int16
read
Int32
read
Int8
read
Uint16
read
Uint32
read
Uint8
read
Utf8
GitHub
QuestDB
QuestDB JavaScript Client - v5.0.0
Loading...
A bounds-checked, runtime-neutral little-endian byte reader.