diff --git a/Interfaces/IMediaImage.cs b/Interfaces/IMediaImage.cs index 22b986d..96572a3 100644 --- a/Interfaces/IMediaImage.cs +++ b/Interfaces/IMediaImage.cs @@ -109,12 +109,14 @@ namespace Aaru.CommonTypes.Interfaces /// Reads a complete sector (user data + all tags). /// The complete sector. Format depends on disk type. /// Sector address (LBA). - byte[] ReadSectorLong(ulong sectorAddress); + /// + ErrorNumber ReadSectorLong(ulong sectorAddress, out byte[] buffer); /// Reads several complete sector (user data + all tags). /// The complete sectors. Format depends on disk type. /// Starting sector address (LBA). /// How many sectors to read. - byte[] ReadSectorsLong(ulong sectorAddress, uint length); + /// + ErrorNumber ReadSectorsLong(ulong sectorAddress, uint length, out byte[] buffer); } } \ No newline at end of file