Class: UnalignedUint16Array
Defined in: UnalignedUint16Array.ts:14
Constructors
new UnalignedUint16Array()
new UnalignedUint16Array(
maxLength
:number
):UnalignedUint16Array
Defined in: UnalignedUint16Array.ts:20
Parameters
Parameter | Type |
---|---|
maxLength | number |
Returns
Properties
#bitLength
private
#bitLength:number
=0
Defined in: UnalignedUint16Array.ts:16
#buffer
private
#buffer:Uint16Array
Defined in: UnalignedUint16Array.ts:15
#wordIndex
private
#wordIndex:number
=0
Defined in: UnalignedUint16Array.ts:17
#wordLength
private
#wordLength:number
=0
Defined in: UnalignedUint16Array.ts:18
Accessors
bitLength
Get Signature
get bitLength():
number
Defined in: UnalignedUint16Array.ts:40
Returns
number
length
Get Signature
get length():
number
Defined in: UnalignedUint16Array.ts:36
Returns
number
maxBitLength
Get Signature
get maxBitLength():
number
Defined in: UnalignedUint16Array.ts:32
Returns
number
maxLength
Get Signature
get maxLength():
number
Defined in: UnalignedUint16Array.ts:28
Returns
number
Methods
#bufferRead16()
private
#bufferRead16(ptr
:Pointer
):void
Defined in: UnalignedUint16Array.ts:236
Parameters
Parameter | Type |
---|---|
ptr | Pointer |
Returns
void
#bufferRead32()
private
#bufferRead32(ptr
:Pointer
):void
Defined in: UnalignedUint16Array.ts:241
Parameters
Parameter | Type |
---|---|
ptr | Pointer |
Returns
void
#bufferRead64()
private
#bufferRead64(ptr
:Pointer
):void
Defined in: UnalignedUint16Array.ts:248
Parameters
Parameter | Type |
---|---|
ptr | Pointer |
Returns
void
#bufferWrite16()
private
#bufferWrite16(value
:number
):void
Defined in: UnalignedUint16Array.ts:275
Parameters
Parameter | Type |
---|---|
value | number |
Returns
void
#readBit()
private
#readBit(pointer
:Pointer
):number
Defined in: UnalignedUint16Array.ts:215
Parameters
Parameter | Type |
---|---|
pointer | Pointer |
Returns
number
#readByte()
private
#readByte(ptr
:Pointer
):number
Defined in: UnalignedUint16Array.ts:223
Parameters
Parameter | Type |
---|---|
ptr | Pointer |
Returns
number
#writeBit()
private
#writeBit(value
:number
):void
Defined in: UnalignedUint16Array.ts:259
Parameters
Parameter | Type |
---|---|
value | number |
Returns
void
at()
at(
index
:number
):undefined
|number
Defined in: UnalignedUint16Array.ts:24
Parameters
Parameter | Type |
---|---|
index | number |
Returns
undefined
| number
readBigInt32()
readBigInt32(
offset
:PointerLike
):bigint
Defined in: UnalignedUint16Array.ts:172
Parameters
Parameter | Type |
---|---|
offset | PointerLike |
Returns
bigint
readBigInt64()
readBigInt64(
offset
:PointerLike
):bigint
Defined in: UnalignedUint16Array.ts:182
Parameters
Parameter | Type |
---|---|
offset | PointerLike |
Returns
bigint
readBigUint32()
readBigUint32(
offset
:PointerLike
):bigint
Defined in: UnalignedUint16Array.ts:177
Parameters
Parameter | Type |
---|---|
offset | PointerLike |
Returns
bigint
readBigUint64()
readBigUint64(
offset
:PointerLike
):bigint
Defined in: UnalignedUint16Array.ts:187
Parameters
Parameter | Type |
---|---|
offset | PointerLike |
Returns
bigint
readBit()
readBit(
offset
:PointerLike
):0
|1
Defined in: UnalignedUint16Array.ts:104
Parameters
Parameter | Type |
---|---|
offset | PointerLike |
Returns
0
| 1
readFloat32()
readFloat32(
offset
:PointerLike
):number
Defined in: UnalignedUint16Array.ts:192
Parameters
Parameter | Type |
---|---|
offset | PointerLike |
Returns
number
readFloat64()
readFloat64(
offset
:PointerLike
):number
Defined in: UnalignedUint16Array.ts:197
Parameters
Parameter | Type |
---|---|
offset | PointerLike |
Returns
number
readInt16()
readInt16(
offset
:PointerLike
):number
Defined in: UnalignedUint16Array.ts:143
Parameters
Parameter | Type |
---|---|
offset | PointerLike |
Returns
number
readInt2()
readInt2(
offset
:PointerLike
):number
Defined in: UnalignedUint16Array.ts:109
Parameters
Parameter | Type |
---|---|
offset | PointerLike |
Returns
number
readInt32()
readInt32(
offset
:PointerLike
):number
Defined in: UnalignedUint16Array.ts:154
Parameters
Parameter | Type |
---|---|
offset | PointerLike |
Returns
number
readInt4()
readInt4(
offset
:PointerLike
):number
Defined in: UnalignedUint16Array.ts:121
Parameters
Parameter | Type |
---|---|
offset | PointerLike |
Returns
number
readInt64()
readInt64(
offset
:PointerLike
):number
Defined in: UnalignedUint16Array.ts:164
Parameters
Parameter | Type |
---|---|
offset | PointerLike |
Returns
number
readInt8()
readInt8(
offset
:PointerLike
):number
Defined in: UnalignedUint16Array.ts:132
Parameters
Parameter | Type |
---|---|
offset | PointerLike |
Returns
number
readUint16()
readUint16(
offset
:PointerLike
):number
Defined in: UnalignedUint16Array.ts:149
Parameters
Parameter | Type |
---|---|
offset | PointerLike |
Returns
number
readUint2()
readUint2(
offset
:PointerLike
):number
Defined in: UnalignedUint16Array.ts:116
Parameters
Parameter | Type |
---|---|
offset | PointerLike |
Returns
number
readUint32()
readUint32(
offset
:PointerLike
):number
Defined in: UnalignedUint16Array.ts:159
Parameters
Parameter | Type |
---|---|
offset | PointerLike |
Returns
number
readUint4()
readUint4(
offset
:PointerLike
):number
Defined in: UnalignedUint16Array.ts:127
Parameters
Parameter | Type |
---|---|
offset | PointerLike |
Returns
number
readUint64()
readUint64(
offset
:PointerLike
):number
Defined in: UnalignedUint16Array.ts:168
Parameters
Parameter | Type |
---|---|
offset | PointerLike |
Returns
number
readUint8()
readUint8(
offset
:PointerLike
):number
Defined in: UnalignedUint16Array.ts:138
Parameters
Parameter | Type |
---|---|
offset | PointerLike |
Returns
number
toArray()
toArray():
Uint16Array
Defined in: UnalignedUint16Array.ts:211
Returns
toString()
toString():
string
Defined in: UnalignedUint16Array.ts:202
Returns
string
writeBigInt32()
writeBigInt32(
value
:bigint
):void
Defined in: UnalignedUint16Array.ts:76
Parameters
Parameter | Type |
---|---|
value | bigint |
Returns
void
writeBigInt64()
writeBigInt64(
value
:bigint
):void
Defined in: UnalignedUint16Array.ts:82
Parameters
Parameter | Type |
---|---|
value | bigint |
Returns
void
writeBit()
writeBit(
value
:number
):void
Defined in: UnalignedUint16Array.ts:44
Parameters
Parameter | Type |
---|---|
value | number |
Returns
void
writeFloat32()
writeFloat32(
value
:number
):void
Defined in: UnalignedUint16Array.ts:90
Parameters
Parameter | Type |
---|---|
value | number |
Returns
void
writeFloat64()
writeFloat64(
value
:number
):void
Defined in: UnalignedUint16Array.ts:96
Parameters
Parameter | Type |
---|---|
value | number |
Returns
void
writeInt16()
writeInt16(
value
:number
):void
Defined in: UnalignedUint16Array.ts:63
Parameters
Parameter | Type |
---|---|
value | number |
Returns
void
writeInt2()
writeInt2(
value
:number
):void
Defined in: UnalignedUint16Array.ts:48
Parameters
Parameter | Type |
---|---|
value | number |
Returns
void
writeInt32()
writeInt32(
value
:number
):void
Defined in: UnalignedUint16Array.ts:67
Parameters
Parameter | Type |
---|---|
value | number |
Returns
void
writeInt4()
writeInt4(
value
:number
):void
Defined in: UnalignedUint16Array.ts:53
Parameters
Parameter | Type |
---|---|
value | number |
Returns
void
writeInt64()
writeInt64(
value
:number
):void
Defined in: UnalignedUint16Array.ts:72
Parameters
Parameter | Type |
---|---|
value | number |
Returns
void
writeInt8()
writeInt8(
value
:number
):void
Defined in: UnalignedUint16Array.ts:58
Parameters
Parameter | Type |
---|---|
value | number |
Returns
void
from()
static
from(value
:string
|UnalignedUint16Array
):UnalignedUint16Array
Defined in: UnalignedUint16Array.ts:303
Parameters
Parameter | Type |
---|---|
value | string | UnalignedUint16Array |