ncode_to_list(str)</span>
      
  </div>
  
  <section class="docstring">
    <p>Returns a hex encoded list from a char-list, string or integer.</p>
<h2>Examples</h2>
<pre><code class="iex elixir">iex&gt; Hexate.encode_to_list(&quot;This is a test.&quot;)
&#39;54686973206973206120746573742e&#39;

iex&gt; Hexate.encode_to_list(&#39;This is a test.&#39;)
&#39;54686973206973206120746573742e&#39;

iex&gt; Hexate.encode_to_list(123456)
&#39;1e240&#39;</code></pre>

  </section>
</div>
<div class="detail" id="to