一款简单易用的基础网络通讯组件库。

ByteBlockPosition 属性

获取或设置字节块中的当前位置。

Definition

命名空间: TouchSocket.Core
程序集: TouchSocket.Core (在 TouchSocket.Core.dll 中) 版本:4.1.4.7+7f7e1f78093c99347956e09330d5d7aca1d2bdf2
C#
public int Position { get; set; }

属性值

Int32
表示字节块中的当前读写位置,从0开始的索引。

实现

IByteBlockCorePosition

备注

位置用于跟踪读取或写入操作的当前位置,通常在0到Length之间。

参见