using System; namespace BizHawk.Emulation.DiscSystem { /// /// Presently, an IBlob doesn't need to work multithreadedly. It's quite an onerous demand. /// This should probably be managed by the Disc class somehow, or by the user making another Disc. /// public interface IBlob : IDisposable { /// /// what a weird parameter order. normally the dest buffer would be first. weird. /// /// location in the blob to read from /// destination buffer for read data /// offset into destination buffer /// amount to read int Read(long byte_pos, byte[] buffer, int offset, int count); } }