Search
Preparing search index...
The search index is not available
catana-backend
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
BitArray
Class BitArray
Hierarchy
BitArray
Index
Constructors
constructor
Properties
_length
_raw
ONE_
OVER_
32
Accessors
length
raw
Methods
clone
difference
equals
for
Each
for
Each0
for
Each1
get
is0
slice
to
Legacy
to
String
bit
convert
Constructors
constructor
new
Bit
Array
(
length
:
number
, input
?:
number
|
number
[]
|
Uint32Array
)
:
BitArray
Parameters
length:
number
Optional
input:
number
|
number
[]
|
Uint32Array
Returns
BitArray
Properties
Private
Readonly
_length
_length
:
number
Private
Readonly
_raw
_raw
:
Uint32Array
Static
Private
Readonly
ONE_
OVER_
32
ONE_
OVER_
32
:
0.03125
= 0.03125
Accessors
length
get
length
(
)
:
number
Returns
number
raw
get
raw
(
)
:
Uint32Array
Returns
Uint32Array
Methods
clone
clone
(
)
:
BitArray
Returns
BitArray
difference
difference
(
that
:
BitArray
)
:
this
Parameters
that:
BitArray
Returns
this
equals
equals
(
that
:
BitArray
)
:
boolean
Parameters
that:
BitArray
Returns
boolean
for
Each
for
Each
(
callback
:
(
bit
:
boolean
, i
:
number
)
=>
void
)
:
void
Parameters
callback:
(
bit
:
boolean
, i
:
number
)
=>
void
(
bit
:
boolean
, i
:
number
)
:
void
Parameters
bit:
boolean
i:
number
Returns
void
Returns
void
for
Each0
for
Each0
(
callback
:
(
i
:
number
)
=>
void
)
:
void
Parameters
callback:
(
i
:
number
)
=>
void
(
i
:
number
)
:
void
Parameters
i:
number
Returns
void
Returns
void
for
Each1
for
Each1
(
callback
:
(
i
:
number
)
=>
void
)
:
void
Parameters
callback:
(
i
:
number
)
=>
void
(
i
:
number
)
:
void
Parameters
i:
number
Returns
void
Returns
void
get
get
(
i
:
number
)
:
boolean
Parameters
i:
number
Returns
boolean
is0
is0
(
rangeStart
?:
number
, rangeEnd
?:
undefined
|
number
)
:
boolean
Parameters
Default value
rangeStart:
number
= 0
Optional
rangeEnd:
undefined
|
number
Returns
boolean
slice
slice
(
start
?:
number
, end
?:
undefined
|
number
)
:
BitArray
Parameters
Default value
start:
number
= 0
Optional
end:
undefined
|
number
Returns
BitArray
to
Legacy
to
Legacy
(
)
:
BitArray_Legacy
Returns
BitArray_Legacy
to
String
to
String
(
)
:
string
Returns
string
Static
Private
bit
bit
(
i
:
number
)
:
number
Parameters
i:
number
Returns
number
Static
convert
convert
(
input
:
number
[]
|
Uint32Array
)
:
BitArray
Parameters
input:
number
[]
|
Uint32Array
Returns
BitArray
Globals
Bit
Array
constructor
_length
_raw
ONE_
OVER_
32
length
raw
clone
difference
equals
for
Each
for
Each0
for
Each1
get
is0
slice
to
Legacy
to
String
bit
convert
Generated using
TypeDoc