namespace Ryujinx.Memory.Range
{
///
/// Range of memory.
///
public interface IRange
{
///
/// Base address.
///
ulong Address { get; }
///
/// Size of the range.
///
ulong Size { get; }
///
/// End address.
///
ulong EndAddress { get; }
///
/// Check if this range overlaps with another.
///
/// Base address
/// Size of the range
/// True if overlapping, false otherwise
bool OverlapsWith(ulong address, ulong size);
}
}