Preparing search index...
The search index is not available demofile
Constructors
constructor
new Bit View( buffer: ArrayBuffer , byteOffset?: number , byteLength?: number ) : BitView
Parameters
buffer: ArrayBuffer
Optional
byteOffset: number
Optional
byteLength: number
Properties
Readonly
buffer
buffer: ArrayBuffer
Methods
get Bits
get Bits( offset: number , bits: number , signed: boolean ) : number
Parameters
offset: number
bits: number
signed: boolean
Returns number
get Float32
get Float32( offset: number ) : number
Returns number
get Float64
get Float64( offset: number ) : number
Returns number
get Int16
get Int16( offset: number ) : number
Returns number
get Int32
get Int32( offset: number ) : number
Returns number
get Int8
get Int8( offset: number ) : number
Returns number
get Uint16
get Uint16( offset: number ) : number
Returns number
get Uint32
get Uint32( offset: number ) : number
Returns number
get Uint8
get Uint8( offset: number ) : number
Returns number
set Bits
set Bits( offset: number , value: number , bits: number ) : void
Parameters
offset: number
value: number
bits: number
Returns void
set Float32
set Float32( offset: number , value: number ) : number
Parameters
offset: number
value: number
Returns number
set Float64
set Float64( offset: number , value: number ) : number
Parameters
offset: number
value: number
Returns number
set Int16
set Int16( offset: number , value: number ) : number
Parameters
offset: number
value: number
Returns number
set Int32
set Int32( offset: number , value: number ) : number
Parameters
offset: number
value: number
Returns number
set Int8
set Int8( offset: number , value: number ) : number
Parameters
offset: number
value: number
Returns number
set Uint16
set Uint16( offset: number , value: number ) : number
Parameters
offset: number
value: number
Returns number
set Uint32
set Uint32( offset: number , value: number ) : number
Parameters
offset: number
value: number
Returns number
set Uint8
set Uint8( offset: number , value: number ) : number
Parameters
offset: number
value: number
Returns number
Reads
bits
number of bits starting atoffset
, twiddling the bits appropriately to return a proper 32-bit signed or unsigned value. NOTE: While JavaScript numbers are 64-bit floating-point values, we don't bother with anything other than the first 32 bits.