Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FileStream fileStream = new FileStream("rawData" + index + ".dat", FileMode.CreateNew);
- // Write the data to the file, byte by byte.
- for (int i = 0; i < 241; i++)
- {
- for (int j = 0; j < 1024; j++)
- {
- fileStream.WriteByte(bytRawImage[i, j]);
- }
- }
- index++;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement