diff --git a/Interfaces/IOpticalMediaImage.cs b/Interfaces/IOpticalMediaImage.cs index 0ce38c4..ac979fb 100644 --- a/Interfaces/IOpticalMediaImage.cs +++ b/Interfaces/IOpticalMediaImage.cs @@ -57,7 +57,8 @@ namespace Aaru.CommonTypes.Interfaces /// The sector's user data. /// Sector address (relative LBA). /// Track. - byte[] ReadSector(ulong sectorAddress, uint track); + /// + ErrorNumber ReadSector(ulong sectorAddress, uint track, out byte[] buffer); /// Reads a sector's tag, relative to track. /// The sector's tag. @@ -71,7 +72,8 @@ namespace Aaru.CommonTypes.Interfaces /// Starting sector address (relative LBA). /// How many sectors to read. /// Track. - byte[] ReadSectors(ulong sectorAddress, uint length, uint track); + /// + ErrorNumber ReadSectors(ulong sectorAddress, uint length, uint track, out byte[] buffer); /// Reads tag from several sectors, relative to track. /// The sectors tag.