I'm not sure if you have social interaction problems, but you need to understand that your behavior in this mailing list is not appropriate. People have tried to help you with your questions, but you refuse to listen to what they have to say and seem to feel that you are owed support to your satisfaction by people you are not paying to help you.
You need to have a bit of respect for the time and attention of other people and put in some actual effort yourself into solving your own problems instead of constantly sending emails to this list. Please look at other people asking for help and how they interact and you'll see that your behavior is SIGNIFICANTLY out of line with community expectations. On Thursday, September 27, 2018 at 2:05:16 PM UTC-7, dan Med wrote: > > yes under the WTF directory > > Il giorno gio 27 set 2018 alle ore 22:55 J Decker <d3c...@gmail.com > <javascript:>> ha scritto: > >> >> >> On Thu, Sep 27, 2018 at 10:50 AM dan Med <litoki...@gmail.com >> <javascript:>> wrote: >> >>> When v8 calls the arraybufferappend method ? >>> >> ARRAYBUFFERAPPEND IS NOT DEFINED IN V8 IT IS NEVER CALLED. >> >> >>> >>> Il giorno mar 4 set 2018 alle ore 12:12 Graham Reeves < >>> gra...@grahamreeves.com <javascript:>> ha scritto: >>> >>>> memcpy is this >>>> memcpy( writable_destination, const_source, length_in_bytes ) >>>> >>>> if you're unsure what it's doing, expand the arguments so the code is >>>> more readable (shame on whoever wrote this :) >>>> memcpy(static_cast<char*>(buffer_->Data()) + bytes_used_, >>>> data,bytes_to_save); >>>> ... >>>> auto* Destination = static_cast<char*>(buffer_->Data()); // start of >>>> buffer >>>> Destination += bytes_used_; // offset from the start, same as >>>> Destination = &Destination[bytes_used_]; >>>> memcpy(Destination, data, bytes_to_save ); >>>> >>>> So to answer your question; >>>> >>>> > with this memcpy is it copying from data which is a const char >>>> pointer n bytes_to_save into the array buffer_ >>>> No, it's copying the number of bytes *bytes_to_save* FROM *data* (from >>>> the start) >>>> >>>> > into a specific offset from the array >>>> yes, into a specific offset from the start of the array *Buffer->Data* >>>> >>>> This isn't a v8 specific question, so you may get a better response for >>>> general C/++ questions on http://www.stackoverflow.com :) >>>> >>>> >>>> On Monday, 3 September 2018 19:55:35 UTC+1, dan Med wrote: >>>>> >>>>> Can someone help me out ? >>>>> >>>>> Il giorno dom 2 set 2018 alle ore 11:26 <litoki...@gmail.com> ha >>>>> scritto: >>>>> >>>>>> memcpy(static_cast<char*>(buffer_->Data()) + bytes_used_, >>>>>> data,bytes_to_save); >>>>>> >>>>>> with this memcpy is it copying from data which is a const char >>>>>> pointer n bytes_to_save into the array buffer_ or into a specific offset >>>>>> from the array ? >>>>>> >>>>>> -- >>>>>> -- >>>>>> v8-users mailing list >>>>>> v8-u...@googlegroups.com >>>>>> http://groups.google.com/group/v8-users >>>>>> --- >>>>>> You received this message because you are subscribed to the Google >>>>>> Groups "v8-users" group. >>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>> send an email to v8-users+u...@googlegroups.com. >>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>> >>>>> -- >>>> -- >>>> v8-users mailing list >>>> v8-u...@googlegroups.com <javascript:> >>>> http://groups.google.com/group/v8-users >>>> --- >>>> You received this message because you are subscribed to the Google >>>> Groups "v8-users" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to v8-users+u...@googlegroups.com <javascript:>. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> -- >>> -- >>> v8-users mailing list >>> v8-u...@googlegroups.com <javascript:> >>> http://groups.google.com/group/v8-users >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "v8-users" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to v8-users+u...@googlegroups.com <javascript:>. >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- >> -- >> v8-users mailing list >> v8-u...@googlegroups.com <javascript:> >> http://groups.google.com/group/v8-users >> --- >> You received this message because you are subscribed to the Google Groups >> "v8-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to v8-users+u...@googlegroups.com <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.