このメソッドは、バイナリ値をリストに変換するために使用されます。
binary_to_list(binaryvalue)
リストを返します。
-module(helloworld). -export([start/0]). start() -> io:fwrite("~p~n",[binary_to_list(<<2,1>>)]).
上記のプログラムを実行すると、次の結果が得られます。
[2,1]