[erlang-questions] scan to list

Zoltan Lajos Kis kiszl@REDACTED
Wed May 12 19:58:20 CEST 2010


On 5/12/2010 7:16 PM, Henning Diedrich wrote:
> Hello list,
>
> is there a better/shorter way to write this:
>
> <<ColumnTypeBinaries:ColumnCount/binary, _/binary>> = Stream,
>    ColumnTypes = binary_to_list(ColumnTypeBinaries),
>
> Thanks a lot!
> Henning
>
Well... are you sure you have to convert that binary to a list ? :o)


More information about the erlang-questions mailing list