title: Java toByte() coverts integer to different values
body: <p>Can someone, please, explain following..</p>
  <pre><code>val randomId: Byte
  randomId = 50.toByte() // randomId = 50
  </code></pre>
  <p>while</p>
  <pre><code>randomId = 1149.toByte() // randomId = 125, while I'd expect it to be 1149?
  </code></pre>
  <p>What am I missing? Thanks.</p>