using XGame.Framework.Asyncs;

namespace XGame.Framework.FileSystem
{
    /// <summary>
    /// 读取文件异步对象
    /// </summary>
    public interface IReadFileAsync : IAsync
    {
        /// <summary>
        /// 成功
        /// </summary>
        bool Success { get; }
        /// <summary>
        /// 文件路径
        /// </summary>
        string FilePath { get; }
        /// <summary>
        /// 文件内容
        /// </summary>
        byte[] Data { get; }
    }
}
