Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The start and end values use Logical Block Addressing. You will need to manually adjust any absolute byte offsets to LBA for the correct start offset to be selected. You can use the following formula:


Code Block
languageactionscript3
titleConvert Absolute Byte Offset to LBA
LBA = byte offset / block size

It is important to note that LBA is a whole number, so any remainder resulting from the division should be truncated or rounded down to the nearest whole number. In addition, the first LBA on a storage device is typically 0, not 1, so the LBA of the first block is always 0.