title: How do I use Java's bitwise operators in Kotlin?
body: <p>Java has <em>binary-or</em> <code>|</code> and <em>binary-and</em> <code>&amp;</code> operators:</p>
  
  <pre><code>int a = 5 | 10;
  int b = 5 &amp; 10;
  </code></pre>
  
  <p>They do not seem to work in Kotlin:</p>
  
  <pre><code>val a = 5 | 10;
  val b = 5 &amp; 10;
  </code></pre>
  
  <p>How do I use Java's bitwise operators in Kotlin?</p>