TouchSocketBitConverterGetBytes(Byte, Decimal) 方法
将指定的 decimal 值转换为一个包含该值的字节数组,并将结果存储在指定的缓冲区中。
命名空间: TouchSocket.Core程序集: TouchSocket.Core (在 TouchSocket.Core.dll 中) 版本:3.0.0+ccaf96084d09f972257496d1dd63b8ba3c1e44f0
public void GetBytes(
ref byte buffer,
decimal value
)
Public Sub GetBytes (
ByRef buffer As Byte,
value As Decimal
)
member GetBytes :
buffer : byte byref *
value : decimal -> unit
参数
- buffer Byte
- 存储转换后的字节的缓冲区。
- value Decimal
- 要转换的 decimal 值。