ode>. They will both return a <code>map()</code> containing   
the decoded values.</p>
  
   <pre>   {ok, #{ hrp =&gt; "test"
         , value =&gt; [185,45,39,5,190,182,64,200,
                     255,162,155,35,222,94,176,194,
                     235,116,165,19,179,96,83]
         , version =&gt; 1
         }
   } = segwit:decode("test1phykjwpd7keqv3laznv3auh4sct4hffgnkds9x8m9qgt").</pre>
  
<h2><a name="types">Data Types</a></h2>

<h3 class="typedecl"><a name="type-hrp">hrp()</a></h3>
<p><code>hrp() = 