diff --git a/Interfaces/IOpticalMediaImage.cs b/Interfaces/IOpticalMediaImage.cs index ac979fbfe..60fd42c3d 100644 --- a/Interfaces/IOpticalMediaImage.cs +++ b/Interfaces/IOpticalMediaImage.cs @@ -87,14 +87,16 @@ namespace Aaru.CommonTypes.Interfaces /// The complete sector. Format depends on disk type. /// Sector address (relative LBA). /// Track. - byte[] ReadSectorLong(ulong sectorAddress, uint track); + /// + ErrorNumber ReadSectorLong(ulong sectorAddress, uint track, out byte[] buffer); /// Reads several complete sector (user data + all tags), relative to track. /// The complete sectors. Format depends on disk type. /// Starting sector address (relative LBA). /// How many sectors to read. /// Track. - byte[] ReadSectorsLong(ulong sectorAddress, uint length, uint track); + /// + ErrorNumber ReadSectorsLong(ulong sectorAddress, uint length, uint track, out byte[] buffer); /// Gets the disc track extents for a specified session. /// The track extents for that session.