an> <span class="symbol"><span class="name">encode</span><span class="params">(<span name="args">args: <span name="scala.List" class="extype">List</span>[<a href="https://www.scala-lang.org/api/2.13.3/scala/Any.html#scala.Any" name="scala.Any" id="scala.Any" class="extype">Any</a>]</span>)</span><span class="result">: <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html#java.nio.ByteBuffer" name="java.nio.ByteBuffer" id="java.nio.ByteBuffer" class="extype">ByteBuffer</a></span></span>