/// <summary> /// 创建 <see cref="MagnetProtocolXtHashedBase" /> 的新实例(MagnetProtocolXtHashedBase) /// </summary> public MagnetProtocolXtHashedBase(MagnetProtocolXtType type, string hashString) : base(type) { HashString = hashString; }
/// <summary> /// 创建 <see cref="MagnetProtocolXtBase" /> 的新实例(MagnetProtocolXtBase) /// </summary> protected MagnetProtocolXtBase(MagnetProtocolXtType type) { Type = type; }
/// <summary> /// 创建 <see cref="MagnetProtocolXtHashedBase" /> 的新实例(MagnetProtocolXtHashedBase) /// </summary> public MagnetProtocolXtHashedBase(MagnetProtocolXtType type, byte[] hash) : base(type) { Hash = hash; }