Constructors
constructor
- new Uint8Matrix(rows, cols, defaultValue): Uint8Matrix
Parameters
- rows: number
- cols: number
- defaultValue: number
Properties
Private
Readonly
_data
_data: Uint8Array
Readonly
cols
cols: number
Readonly
rows
rows: number
Methods
get
- get(row, col): number
Returns number
set
- set(row, col, value): void
Parameters
- row: number
- col: number
- value: number
Returns void