diff --git a/Interfaces/IMediaImage.cs b/Interfaces/IMediaImage.cs index 96572a362..e18f95fea 100644 --- a/Interfaces/IMediaImage.cs +++ b/Interfaces/IMediaImage.cs @@ -90,7 +90,8 @@ namespace Aaru.CommonTypes.Interfaces /// The sector's tag. /// Sector address (LBA). /// Tag type. - byte[] ReadSectorTag(ulong sectorAddress, SectorTagType tag); + /// + ErrorNumber ReadSectorTag(ulong sectorAddress, SectorTagType tag, out byte[] buffer); /// Reads user data from several sectors. /// The sectors user data. @@ -104,7 +105,8 @@ namespace Aaru.CommonTypes.Interfaces /// Starting sector address (LBA). /// How many sectors to read. /// Tag type. - byte[] ReadSectorsTag(ulong sectorAddress, uint length, SectorTagType tag); + /// + ErrorNumber ReadSectorsTag(ulong sectorAddress, uint length, SectorTagType tag, out byte[] buffer); /// Reads a complete sector (user data + all tags). /// The complete sector. Format depends on disk type.