using Aaru.CommonTypes.Enums;
namespace Aaru.CommonTypes.Interfaces;
///
/// Abstract class to implement flux writing plugins.
public interface IWritableFluxImage : IFluxImage, IWritableImage
{
///
/// Writes a flux capture.
///
/// The capture's resolution (sample rate) in picoseconds
/// Flux representation of the index signal
/// Flux representation of the data signal
/// Physical head (0-based)
/// Physical track (position of the heads over the floppy media, 0-based)
/// Physical sub-step of track (e.g. half-track)
/// Which capture slot to write to. See also
/// Error number
ErrorNumber WriteFluxCapture(ulong resolution, byte[] index, byte[] data, uint head, ushort track, byte subTrack,
uint captureIndex);
}