Let $m(t,\omega)=\sum_{j \ge 0}B_{(j+1)2^{-n}}(\omega)I_{[j.2^{-n},(j+1)2^{-n})}(t)$ where $B(t)$ is the Brownian motion and $I_[.]$ is the standard indicator function, Can some body explain me why
$$ E[\int_0^T m(t,\omega)dB_t(\omega)]=\sum_{j \ge 0} E[(B_{t_{j+1}}-B_{t_j})^2] $$
This is a solved example from chapter 3 of stochastic differential equations, Oksandel.