<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-dependent-content"data-active=""data-togglable=":micro_utils.dokka:dokkaHtml/commonMain"><divclass="symbol monospace"><spanclass="token keyword">fun </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html">Long</a><spanclass="token punctuation">.</span><ahref="to-coerced-byte.html"><spanclass="token function">toCoercedByte</span></a><spanclass="token punctuation">(</span><spanclass="token punctuation">)</span><spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte/index.html">Byte</a><spanclass="clearfix"><spanclass="floating-right">(<ahref="https://github.com/InsanusMokrassar/MicroUtils/blob/master//common/src/commonMain/kotlin/dev/inmo/micro_utils/common/PrimitivesConversations.kt#L14">source</a>)</span></span></div><pclass="paragraph">Convert <ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html">this</a> to <ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte/index.html">Byte</a> with bounds of <ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte/-m-i-n_-v-a-l-u-e.html">Byte.MIN_VALUE</a> and <ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte/-m-a-x_-v-a-l-u-e.html">Byte.MAX_VALUE</a></p><hr><divclass="symbol monospace"><spanclass="token keyword">fun </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a><spanclass="token punctuation">.</span><ahref="to-coerced-byte.html"><spanclass="token function">toCoercedByte</span></a><spanclass="token punctuation">(</span><spanclass="token punctuation">)</span><spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte/index.html">Byte</a><spanclass="clearfix"><spanclass="floating-right">(<ahref="https://github.com/InsanusMokrassar/MicroUtils/blob/master//common/src/commonMain/kotlin/dev/inmo/micro_utils/common/PrimitivesConversations.kt#L23">source</a>)</span></span></div><pclass="paragraph">Convert <ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">this</a> to <ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte/index.html">Byte</a> with bounds of <ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte/-m-i-n_-v-a-l-u-e.html">Byte.MIN_VALUE</a> and <ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte/-m-a-x_-v-a-l-u-e.html">Byte.MAX_VALUE</a></p><hr><divclass="symbol monospace"><spanclass="token keyword">fun </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-short/index.html">Short</a><spanclass="token punctuation">.</span><ahref="to-coerced-byte.html"><spanclass="token function">toCoercedByte</span></a><spanclass="token punctuation">(</span><spanclass="token punctuation">)</span><spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte/index.html">Byte</a><spanclass="clearfix"><spanclass="floating-right">(<ahref="https://github.com/InsanusMokrassar/MicroUtils/blob/master//common/src/commonMain/kotlin/dev/inmo/micro_utils/common/PrimitivesConversations.kt#L28">source</a>)</span></span></div><pclass="paragraph">Convert <ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-short/index.html">this</a> to <ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte/index.html">Byte</a> with bounds of <ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte/-m-i-n_-v-a-l-u-e.html">Byte.MIN_VALUE</a> and <ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte/-m-a-x_-v-a-l-u-e.html">Byte.MAX_VALUE</a></p></div></div>