[erlang-questions] erlang atom data length is not enough
Thu Jan 8 08:29:33 CET 2009
In the Erlang documentation, 9.2 System limits, it is written that the
maximum number of characters in an atom is 255.
What are you sending from Erlang?
On Thu, 2009-01-08 at 10:52 +0530, prasantha kumara wrote:
> Hi all.
> i have sent a data steam which is 2048byte long to the c node from the
> erlang node.
> 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 pointer.
> the code i have writtenis as follows
> argp = erl_element(2, tuplep);
> unsigned char* pp;
> int i;
> 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.
> erlang-questions mailing list
More information about the erlang-questions