How to build a binary of 1024 zeros?

Vlad Dumitrescu <>
Mon May 29 12:00:19 CEST 2006


Hi,

On 5/29/06, Andrew Lentvorski <> wrote:
> Is there an equivalent to lists:duplicate(1024, 0), but for binaries?

<<0:8192>> works for me.

/Vlad



More information about the erlang-questions mailing list