HslReflectionHelperPraseStructContentT 方法 (Byte, Int32, IByteTransform) |
命名空间:
HslCommunication.Reflection
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static T PraseStructContent<T>(
byte[] buffer,
int startIndex,
IByteTransform byteTransform
)
where T : class, new()
Public Shared Function PraseStructContent(Of T As {Class, New}) (
buffer As Byte(),
startIndex As Integer,
byteTransform As IByteTransform
) As T
public:
generic<typename T>
where T : ref class, gcnew()
static T PraseStructContent(
array<unsigned char>^ buffer,
int startIndex,
IByteTransform^ byteTransform
)
static member PraseStructContent :
buffer : byte[] *
startIndex : int *
byteTransform : IByteTransform -> 'T when 'T : not struct, new()
参数
- buffer
- 类型:SystemByte
缓存信息 - startIndex
- 类型:SystemInt32
起始偏移地址 - byteTransform
- 类型:HslCommunication.CoreIByteTransform
数据变换规则对象
类型参数
- T
- 类型信息
返回值
类型:
T新的实例化的类型对象
参见