Hi, Is there a way to do this: my_fun(Bin, Len, <<Bin:Len/binary, Rest/binary>>) -> %% do stuff with Bin ok. Len is unbound is the reason I can’t, but it seems like the sort of thing that would be useful if I could. Many thanks in advance Russell