Writing stream data to usb

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Writing stream data to usb

2,081件の閲覧回数
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 返信

675件の閲覧回数
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.