ven/devel/nostr/apps/erts/doc/erlang.html#type-pos_integer">pos_integer()</a>]}</code></li></ul></p>
<p> </p>
</div><p><code>encode/2</code> function encodes indexed data with padding using
  bech32 format.</p>
<p><b>See also:</b> <a href="#encode-3">encode/3</a>, <a href="#encode_bech32-2">encode_bech32/2</a>.</p>

<h3 class="function"><a name="encode-3">encode/3</a></h3>
<div class="spec">
<p><code>encode(HRP, Data, Opts) -&gt; Return</code>
<ul class="definitions"><li><code>HRP = [<a href="/home/steven/d