Welcome to mirror list, hosted at ThFree Co, Russian Federation.

IFdsBlock.cs - github.com/ClusterM/nes-containers.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 836b6702ab7fc97b81126ebc6970f6951e49798e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
namespace com.clusterrr.Famicom.Containers
{
    /// <summary>
    /// FDS block interface
    /// </summary>
    public interface IFdsBlock
    {
        /// <summary>
        /// Returns the valid block type ID
        /// </summary>
        byte ValidTypeID { get;  }
        /// <summary>
        /// Returns true if the block type ID is valid
        /// </summary>
        bool IsValid { get; }
        /// <summary>
        /// Length of raw block data
        /// </summary>
        uint Length { get; }
        /// <summary>
        /// Return raw data
        /// </summary>
        /// <returns></returns>
        byte[] ToBytes();
    }
}