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 bytesStoreBuf 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