TouchSocketBitConverterGetBytes(Byte, Int32) 方法
将整数转换为指定字节序,并存储在给定的字节数组中。
命名空间: TouchSocket.Core程序集: TouchSocket.Core (在 TouchSocket.Core.dll 中) 版本:3.0.0+ccaf96084d09f972257496d1dd63b8ba3c1e44f0
public void GetBytes(
ref byte buffer,
int value
)
Public Sub GetBytes (
ByRef buffer As Byte,
value As Integer
)
member GetBytes :
buffer : byte byref *
value : int -> unit
参数
- buffer Byte
- 存储转换结果的字节数组。
- value Int32
- 要转换的整数。