diff --git a/Interfaces/IOpticalMediaImage.cs b/Interfaces/IOpticalMediaImage.cs index 60fd42c..ab6e95c 100644 --- a/Interfaces/IOpticalMediaImage.cs +++ b/Interfaces/IOpticalMediaImage.cs @@ -65,7 +65,8 @@ namespace Aaru.CommonTypes.Interfaces /// Sector address (relative LBA). /// Track. /// Tag type. - byte[] ReadSectorTag(ulong sectorAddress, uint track, SectorTagType tag); + /// + ErrorNumber ReadSectorTag(ulong sectorAddress, uint track, SectorTagType tag, out byte[] buffer); /// Reads user data from several sectors, relative to track. /// The sectors user data. @@ -81,7 +82,8 @@ namespace Aaru.CommonTypes.Interfaces /// How many sectors to read. /// Track. /// Tag type. - byte[] ReadSectorsTag(ulong sectorAddress, uint length, uint track, SectorTagType tag); + /// + ErrorNumber ReadSectorsTag(ulong sectorAddress, uint length, uint track, SectorTagType tag, out byte[] buffer); /// Reads a complete sector (user data + all tags), relative to track. /// The complete sector. Format depends on disk type.