bit syntax documentation

Robert Virding rv@REDACTED
Tue Apr 3 17:30:23 CEST 2001


Bjorn Gustavsson <bjorn@REDACTED> writes:
>Thanks for pointing out the error.
>
>The head should have been
>
>  foo(<<X:7/binary-unit:1,Y:1/binary-unit:1>>) ->
>
>We will correct the documentation in the R8 release.

The default unit for binaries is 8, i.e. bytes.  For integers and
floats the default unit is 1.

        Robert



More information about the erlang-questions mailing list