How do I delete bytes from the beginning of a file? (2010)

How do I delete bytes from the beginning of a file? (2010)

The underlying abstract model for storage of file contents is in the

form of a chunk of bytes, each indexed by the file offset. In theory, a file system could support truncating an

integral number of storage chunks

off the front of the file by updating its internal

bookkeeping about file contents without having to

move data physically around the disk. For example, after you decommitted the first 96KB of the file above,

the logical byte zero would be 98,304,

and all file offset calculations on the file would be biased by

98,304 to convert from logical offsets to physical offsets.

Source: devblogs.microsoft.com