使用memcpy一定要注意内存偏移发生错误 memcpy(,buffer,sizeof(buffer)); 一定不要越界!!!! https://www.it610.com/article/5211022.htm