Home > Software engineering >  STD: : vector <uint8_t> & arr function
STD: : vector <uint8_t> & arr function

Time:02-24

Arr. Data (), what said the exact meaning of this function?

CodePudding user response:

 
Char buff [1024].
DWORD readsize=0;
BOOL aa=ReadFile (com, buff, 1024, & amp; Readsize, NULL);
Arr. Insert (storeBuf. End (), buff, buff + readsize);


Arr. Insert (storeBuf. End (), buff, buff + readsize); The various parameters of the said what

CodePudding user response:

Buff read buffer, readsize actual reading bytes
StoreBuf speculation is to save the starting address, buf saved the end of the beginning pointer buf + readsize save content pointer
This you can see the definition of the definition and storeBuf arr

CodePudding user response:

The data, said the entire set of yao
  • Related