[erlang-questions] erlang atom data length is not enough
Thu Jan 8 06:22:00 CET 2009
i have sent a data steam which is 2048byte long to the c node from the
i want to process them in the c node.to 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
the code i have writtenis as follows
argp = erl_element(2, tuplep);
unsigned char* pp;
printf(" %d ",*(pp+i));
but it can prints only 255 bytes from the byte stream .can any body help me
get the total byte steam.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions