Skip to main content

Class: UnalignedUint16Array

Constructors

new UnalignedUint16Array()

new UnalignedUint16Array(maxLength: number): UnalignedUint16Array

Parameters

ParameterType
maxLengthnumber

Returns

UnalignedUint16Array

Defined in

UnalignedUint16Array.ts:20

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

Returns

number

Defined in

UnalignedUint16Array.ts:36


length

Get Signature

get length(): number

Returns

number

Defined in

UnalignedUint16Array.ts:32


maxBitLength

Get Signature

get maxBitLength(): number

Returns

number

Defined in

UnalignedUint16Array.ts:28


maxLength

Get Signature

get maxLength(): number

Returns

number

Defined in

UnalignedUint16Array.ts:24

Methods

#bufferRead16()

private #bufferRead16(ptr: Pointer): void

Parameters

ParameterType
ptrPointer

Returns

void

Defined in

UnalignedUint16Array.ts:232


#bufferRead32()

private #bufferRead32(ptr: Pointer): void

Parameters

ParameterType
ptrPointer

Returns

void

Defined in

UnalignedUint16Array.ts:237


#bufferRead64()

private #bufferRead64(ptr: Pointer): void

Parameters

ParameterType
ptrPointer

Returns

void

Defined in

UnalignedUint16Array.ts:244


#bufferWrite16()

private #bufferWrite16(value: number): void

Parameters

ParameterType
valuenumber

Returns

void

Defined in

UnalignedUint16Array.ts:271


#readBit()

private #readBit(pointer: Pointer): number

Parameters

ParameterType
pointerPointer

Returns

number

Defined in

UnalignedUint16Array.ts:211


#readByte()

private #readByte(ptr: Pointer): number

Parameters

ParameterType
ptrPointer

Returns

number

Defined in

UnalignedUint16Array.ts:219


#writeBit()

private #writeBit(value: number): void

Parameters

ParameterType
valuenumber

Returns

void

Defined in

UnalignedUint16Array.ts:255


readBigInt32()

readBigInt32(offset: PointerLike): bigint

Parameters

ParameterType
offsetPointerLike

Returns

bigint

Defined in

UnalignedUint16Array.ts:168


readBigInt64()

readBigInt64(offset: PointerLike): bigint

Parameters

ParameterType
offsetPointerLike

Returns

bigint

Defined in

UnalignedUint16Array.ts:178


readBigUint32()

readBigUint32(offset: PointerLike): bigint

Parameters

ParameterType
offsetPointerLike

Returns

bigint

Defined in

UnalignedUint16Array.ts:173


readBigUint64()

readBigUint64(offset: PointerLike): bigint

Parameters

ParameterType
offsetPointerLike

Returns

bigint

Defined in

UnalignedUint16Array.ts:183


readBit()

readBit(offset: PointerLike): 0 | 1

Parameters

ParameterType
offsetPointerLike

Returns

0 | 1

Defined in

UnalignedUint16Array.ts:100


readFloat32()

readFloat32(offset: PointerLike): number

Parameters

ParameterType
offsetPointerLike

Returns

number

Defined in

UnalignedUint16Array.ts:188


readFloat64()

readFloat64(offset: PointerLike): number

Parameters

ParameterType
offsetPointerLike

Returns

number

Defined in

UnalignedUint16Array.ts:193


readInt16()

readInt16(offset: PointerLike): number

Parameters

ParameterType
offsetPointerLike

Returns

number

Defined in

UnalignedUint16Array.ts:139


readInt2()

readInt2(offset: PointerLike): number

Parameters

ParameterType
offsetPointerLike

Returns

number

Defined in

UnalignedUint16Array.ts:105


readInt32()

readInt32(offset: PointerLike): number

Parameters

ParameterType
offsetPointerLike

Returns

number

Defined in

UnalignedUint16Array.ts:150


readInt4()

readInt4(offset: PointerLike): number

Parameters

ParameterType
offsetPointerLike

Returns

number

Defined in

UnalignedUint16Array.ts:117


readInt64()

readInt64(offset: PointerLike): number

Parameters

ParameterType
offsetPointerLike

Returns

number

Defined in

UnalignedUint16Array.ts:160


readInt8()

readInt8(offset: PointerLike): number

Parameters

ParameterType
offsetPointerLike

Returns

number

Defined in

UnalignedUint16Array.ts:128


readUint16()

readUint16(offset: PointerLike): number

Parameters

ParameterType
offsetPointerLike

Returns

number

Defined in

UnalignedUint16Array.ts:145


readUint2()

readUint2(offset: PointerLike): number

Parameters

ParameterType
offsetPointerLike

Returns

number

Defined in

UnalignedUint16Array.ts:112


readUint32()

readUint32(offset: PointerLike): number

Parameters

ParameterType
offsetPointerLike

Returns

number

Defined in

UnalignedUint16Array.ts:155


readUint4()

readUint4(offset: PointerLike): number

Parameters

ParameterType
offsetPointerLike

Returns

number

Defined in

UnalignedUint16Array.ts:123


readUint64()

readUint64(offset: PointerLike): number

Parameters

ParameterType
offsetPointerLike

Returns

number

Defined in

UnalignedUint16Array.ts:164


readUint8()

readUint8(offset: PointerLike): number

Parameters

ParameterType
offsetPointerLike

Returns

number

Defined in

UnalignedUint16Array.ts:134


toArray()

toArray(): Uint16Array

Returns

Uint16Array

Defined in

UnalignedUint16Array.ts:207


toString()

toString(): string

Returns

string

Defined in

UnalignedUint16Array.ts:198


writeBigInt32()

writeBigInt32(value: bigint): void

Parameters

ParameterType
valuebigint

Returns

void

Defined in

UnalignedUint16Array.ts:72


writeBigInt64()

writeBigInt64(value: bigint): void

Parameters

ParameterType
valuebigint

Returns

void

Defined in

UnalignedUint16Array.ts:78


writeBit()

writeBit(value: number): void

Parameters

ParameterType
valuenumber

Returns

void

Defined in

UnalignedUint16Array.ts:40


writeFloat32()

writeFloat32(value: number): void

Parameters

ParameterType
valuenumber

Returns

void

Defined in

UnalignedUint16Array.ts:86


writeFloat64()

writeFloat64(value: number): void

Parameters

ParameterType
valuenumber

Returns

void

Defined in

UnalignedUint16Array.ts:92


writeInt16()

writeInt16(value: number): void

Parameters

ParameterType
valuenumber

Returns

void

Defined in

UnalignedUint16Array.ts:59


writeInt2()

writeInt2(value: number): void

Parameters

ParameterType
valuenumber

Returns

void

Defined in

UnalignedUint16Array.ts:44


writeInt32()

writeInt32(value: number): void

Parameters

ParameterType
valuenumber

Returns

void

Defined in

UnalignedUint16Array.ts:63


writeInt4()

writeInt4(value: number): void

Parameters

ParameterType
valuenumber

Returns

void

Defined in

UnalignedUint16Array.ts:49


writeInt64()

writeInt64(value: number): void

Parameters

ParameterType
valuenumber

Returns

void

Defined in

UnalignedUint16Array.ts:68


writeInt8()

writeInt8(value: number): void

Parameters

ParameterType
valuenumber

Returns

void

Defined in

UnalignedUint16Array.ts:54


from()

static from(value: string | UnalignedUint16Array): UnalignedUint16Array

Parameters

ParameterType
valuestring | UnalignedUint16Array

Returns

UnalignedUint16Array

Defined in

UnalignedUint16Array.ts:299