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

ByteBlockFreeLength 属性

获取字节块的可用空间长度。

Definition

命名空间: TouchSocket.Core
程序集: TouchSocket.Core (在 TouchSocket.Core.dll 中) 版本:4.0.0-beta.143+5fcca7a4e70968794985dc3793adc50531308be6
C#
public int FreeLength { get; }

属性值

Int32
表示从当前位置到容量末尾还可以写入的字节数。

实现

IByteBlockWriterFreeLength

备注

此值等于CapacityPosition的差值。

参见