How to append data in an existing buffer (in C language)
- From: akarui.tomodachi@xxxxxxxxx
- Date: 28 Nov 2005 08:10:28 -0800
I have a structure and one of the fields is a data buffer
(myDestinationBuffer).
I filled in the buffer by using memcpy() function as below:
memcpy(&myDestinationBuffer, &mySourceData, myDataLength);
Now I need to append 2 more bytes at the bottom of the
"myDestinationBuffer", how can I do this ?
Thanks in advance.
.
- Follow-Ups:
- Re: How to append data in an existing buffer (in C language)
- From: gremnebulin
- Re: How to append data in an existing buffer (in C language)
- Prev by Date: Re: Java speed: Reality versus theory?
- Next by Date: Re: What languages have huge standard libraries?
- Previous by thread: proceses selection
- Next by thread: Re: How to append data in an existing buffer (in C language)
- Index(es):
Relevant Pages
|