takes a String containing hex characters [0..9, A..F], and converts it into an Elixir binary of 8-bit hex numbers
iex> ~h{12345678} <<18, 52, 86, 120>>
takes a String in form of comma separated values, and converts it into an String containing hex characters [0..9, A..F]
iex> ~h{18, 52, 86, 120}x "12345678"
Returns a hex string visual representation of a given list or binary. No need to insert leading '0', just to see the contents of a list.
iex> HexFmt.hexify(<<18, 52, 86, 120>>) "<<0x12, 0x34, 0x56, 0x78>>" iex> HexFmt.hexify('1!') "[0x31, 0x21]"
--
You received this message because you are subscribed to the Google Groups "elixir-lang-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-ta...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-ta...@googlegroups.com.