BEUUKQVQ6TPUDVH74NCKA43MMPHOI5X5MF5UNR7WTCAST2HCMBJAC valtype_vec(binary)enddefp valtype_vec(binary) do{length, rest} = u32(binary)do_valtype_vec(length, rest)enddefp do_valtype_vec(length, binary) dodo_valtype_vec(length, binary, [])enddefp do_valtype_vec(0, binary, acc) do{acc |> Enum.reverse(), binary}
vec(&valtype/1).(binary)