public function setRow(int $y, BitArray $row) : void
    {
        $bits = $row->getBitArray();

        for ($i = 0; $i < $this->rowSize; ++$i) {
            $this->bits[$y * $this->rowSize + $i] = $bits[$i];
        }
    }
public function setRow(int $y, BitArray $row) : void
    {
        $bits = $row->getBitArray();

        for ($i = 0; $i < $this->rowSize; ++$i) {
            $this->bits[$y * $this->rowSize + $i] = $bits[$i];
        }
    }
public function setRow ( int $ y , BitArray $ row ) : void { $ bits = $ row -> getBitArray ( ) ; for ( $ i = 0 ; $ i < $ this -> rowSize ; ++ $ i ) { $ this -> bits [ $ y * $ this -> rowSize + $ i ] = $ bits [ $ i ] ; } }
Sets a row of data from a BitArray.
Sets a row of data from a BitArray .