public static Extent[] GetInstances(byte[] bytes) { ExtentHeader header = new ExtentHeader(NativeMethods.GetSubArray(bytes, 0x00, 0x0C)); Extent[] extentArray = new Extent[header.NumberOfExtents]; uint offset = 0x0C; uint size = 0x0C; for (int i = 0; (i < header.NumberOfExtents) && (i < 4); i++) { extentArray[i] = new Extent(NativeMethods.GetSubArray(bytes, offset, size)); offset += size; } return extentArray; }