How to build a binary of 1024 zeros?

Romain Lenglet <>
Mon May 29 12:01:06 CEST 2006


Andrew Lentvorski wrote:
> Is there an equivalent to lists:duplicate(1024, 0), but for
> binaries?

<<0:1024>>

-- 
Romain LENGLET



More information about the erlang-questions mailing list