增加扩展数据接口,尝试解决解包错误问题,8192对65解包之后,刚好剩下2字节,导致下一包出错
大石头 authored at 2018-04-29 00:48:15
459.00 B
X
using System;
using System.Collections.Generic;

namespace NewLife.Data
{
    /// <summary>具有扩展数据的接口</summary>
    public interface IExtend
    {
        /// <summary>数据项</summary>
        IDictionary<String, Object> Items { get; }

        /// <summary>设置 或 获取 数据项</summary>
        /// <param name="key"></param>
        /// <returns></returns>
        Object this[String key] { get; set; }
    }
}