Re: Char array copy
- From: clinisbut <clinisbut@xxxxxxxxx>
- Date: Tue, 22 Jan 2008 08:32:01 -0800 (PST)
On Jan 22, 5:25 pm, lich...@xxxxxxxxx wrote:
Hello
I've got a an unsigned char array
buffer[10] ={0x10,0x10,0x00,0x00,0x00,0x40,0x72,0x10,0x50,0x90}
Then I do:
char * msg = buffer;
After that I pass msg to a method, but the method only recieves:
{0x10,0x10}
What am I doing wrong? How can I pass the full buffer content to the
method?
Thanks a lot.
Carlos
Maybe could be:
unsigned char* msg = buffer
instead char* msg buffer
But better post your function
.
- References:
- Char array copy
- From: licheca
- Char array copy
- Prev by Date: Char array copy
- Next by Date: Re: Char array copy
- Previous by thread: Char array copy
- Next by thread: Re: Char array copy
- Index(es):
Relevant Pages
|