📄 swslot.cs
字号:
namespace NCindy.Protocol.RUDP.Window
{
using System;
internal sealed class SWSlot
{
internal long EndByte;
internal int EndPacketId;
internal long StartByte;
internal int StartPacketId;
internal SWSlot(int startPacketId, int endPacketId, long startByte, long endByte)
{
this.StartPacketId = startPacketId;
this.EndPacketId = endPacketId;
this.StartByte = startByte;
this.EndByte = endByte;
}
public override string ToString()
{
return string.Concat(new object[] { "StartPacketId(", this.StartPacketId, ") EndPacketId(", this.EndPacketId, ") Length(", this.EndByte - this.StartByte, ")" });
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -