YEnc.encode

You're seeing just the function encode, go back to YEnc module for more information.

Specs

encode(binary()) :: binary()

Performs raw yEnc encoding on data returning the result.

Examples

iex> YEnc.encode("")
""

iex> YEnc.encode(<<>>)
""

iex> YEnc.encode("ERLANG")
"o|vkxq"

iex> YEnc.encode(<<69, 82, 76, 65, 78, 71>>)
"o|vkxq"