Binary Matching

Kent Johnson <>
Wed Aug 22 00:37:21 CEST 2001


Does the following code result in a memory copy.

parse(<<Char:8, Rest/binary>>) ->
        %% Do any parsing required
        parse(Rest);
parse(<<>>) ->
        ok.

Thanks,

Kent




More information about the erlang-questions mailing list