<divclass="content sourceset-dependent-content"data-active=""data-togglable=":kmath-stat:dokkaHtmlPartial/jvmMain"><divclass="symbol monospace"><spanclass="token keyword">open </span><spanclass="token keyword">override </span><spanclass="token keyword">fun </span><ahref="fill-bytes.html"><spanclass="token function">fillBytes</span></a><spanclass="token punctuation">(</span><spanclass="parameters "><spanclass="parameter ">array<spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html">ByteArray</a><spanclass="token punctuation">, </span></span><spanclass="parameter ">fromIndex<spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a><spanclass="token punctuation">, </span></span><spanclass="parameter ">toIndex<spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a></span></span><spanclass="token punctuation">)</span><spanclass="clearfix"><spanclass="floating-right">(<ahref="https://github.com/SciProgCentre/kmath/tree/master/kmath-stat/src/jvmMain/kotlin/space/kscience/kmath/stat/RandomSourceGenerator.kt#L31">source</a>)</span></span></div><pclass="paragraph">Fills a subrange with the specified byte <ahref="fill-bytes.html">array</a> starting from <ahref="fill-bytes.html">fromIndex</a> inclusive and ending <ahref="fill-bytes.html">toIndex</a> exclusive with random bytes.</p><spanclass="kdoc-tag"><h4class="">Return</h4><pclass="paragraph"><ahref="fill-bytes.html">array</a> with the subrange filled with random bytes.</p></span></div></div>