[try Beta version]
Not logged in

 
How to copy a certain number of bytes from a file

Jun 30, 2009 at 2:14pm
I have a video file video.yuv
and I want to copy the first 117596160 bytes in the file and make a new file using these bytes

how to achieve this goal?
thank you
Jun 30, 2009 at 2:21pm
Read that many bytes from the source file and write them to a new file.

You might want to break it down into several smaller reads, otherwise you'll have to allocate > 110MB of RAM to read the source file.
Jun 30, 2009 at 2:59pm
I have no idea on how to read and write
can you give me some sample source codes?
thank you!
Jun 30, 2009 at 6:22pm
Topic archived. No new replies allowed.