<br>Hi all.<br>i have sent a data steam which is 2048byte long to the c node from the erlang node.<br>i want to process them in the c <a href="http://node.to">node.to</a> do that i cast it to ta erl atom using ERL_ATOM_PTR().becouse i suppose to get he byte by byte using a c pointer.<br>
<br>the code i have writtenis as follows<br><br>argp = erl_element(2, tuplep);<br>unsigned char* pp;<br>pp=ERL_ATOM_PTR(argp);<br>int i;<br>for(i=0;i<10;i++){ <br>pp=a[0];<br>printf(" %d ",*(pp+i));<br>
}<br>but it can prints only 255 bytes from the byte stream .can any body help me get the total byte steam.<br>