Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Generate file header
- byte[] header = new byte[7];
- header[0] = 0xFD; //Magic
- header[1] = 0x9C; header[2] = 0x00; //Segment
- header[3] = 0x00; header[4] = 0x00; //Offset
- header[5] = Convert.ToByte(DataSize & 0xFF); //Low byte of DataSize
- header[6] = Convert.ToByte(DataSize >> 8); //High byte of DataSize
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement