28 lines
828 B
C#
28 lines
828 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.IO;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace BizHawk.Emulation.Cores.Computers.SinclairSpectrum
|
|
{
|
|
/// <summary>
|
|
/// Defines the serialization operations of a TZX record
|
|
/// </summary>
|
|
public interface ITapeDataSerialization
|
|
{
|
|
/// <summary>
|
|
/// Reads the content of the block from the specified binary stream.
|
|
/// </summary>
|
|
/// <param name="reader">Stream to read the block from</param>
|
|
void ReadFrom(BinaryReader reader);
|
|
|
|
/// <summary>
|
|
/// Writes the content of the block to the specified binary stream.
|
|
/// </summary>
|
|
/// <param name="writer">Stream to write the block to</param>
|
|
void WriteTo(BinaryWriter writer);
|
|
}
|
|
}
|