// dnlib: See LICENSE.txt for more info
using System.IO;
using System.Runtime.Serialization;
using dnlib.IO;
namespace dnlib.DotNet.Resources {
///
/// Implemented by all resource data
///
public interface IResourceData : IFileSection {
///
/// Gets the type of data
///
ResourceTypeCode Code { get; }
///
/// Start offset of the section in the file
///
new FileOffset StartOffset { get; set; }
///
/// End offset of the section in the file. This is one byte after the last
/// valid offset in the section.
///
new FileOffset EndOffset { get; set; }
///
/// Writes the data
///
/// Writer
/// Formatter if needed by implementer
void WriteData(ResourceBinaryWriter writer, IFormatter formatter);
}
}