Skip to content

Instantly share code, notes, and snippets.

@halfelf
Created September 6, 2012 02:49
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save halfelf/3650258 to your computer and use it in GitHub Desktop.
Save halfelf/3650258 to your computer and use it in GitHub Desktop.
Concatenate binaries in erlang
% concat, binary
B1= <<1,2>>.
B2= <<3,4>>.
B3= <<B1/binary, B2/binary>>.
% <<1,2,3,4>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment