ValueByteBlockWriteIsNullT(NullableT) 方法
写入一个可能为null的值,并标记该值是否为null。
命名空间: TouchSocket.Core程序集: TouchSocket.Core (在 TouchSocket.Core.dll 中) 版本:3.0.0+ccaf96084d09f972257496d1dd63b8ba3c1e44f0
public void WriteIsNull<T>(
T? t
)
where T : struct, new()
Public Sub WriteIsNull(Of T As {Structure, New}) (
t As T?
)
abstract WriteIsNull :
t : Nullable<'T> -> unit when 'T : struct, new()
override WriteIsNull :
t : Nullable<'T> -> unit when 'T : struct, new()
- t NullableT
- 要写入的值,可以为null。
- T
- 值的类型,必须是值类型。
IByteBlockWriteIsNullT(NullableT)