Writing stream data to usb

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Writing stream data to usb

1,915 次查看
Jairo
Contributor III
Hi, i want to know how to manage files, i understand all about files managing in C on a PC, here is my problem: I got a data stream captured with A GPIO port, that stream is an image, and i want to save it to an USB stick, so it's necesary load all the image in RAM (the image data expected doesn't fit in the RAM) or i can write byte to byte received to the file whitout loading all the data in RAM?
标签 (1)
标记 (1)
0 项奖励
1 回复

509 次查看
EAI
Contributor IV
Yes you can write byte by byte to a file, but for better performance I would recommend writing 512 bytes at a time.