Int size=Marshal. SizeOf (typeof (_HEADER_INFO_LIST));
Byte [] infoBuf=new byte [size];
For (int I=0, j=60; I & lt; The size; I++ j++)
{
InfoBuf [I]=myBuf [j];
}
_HEADER_INFO_LIST info=(_HEADER_INFO_LIST) Struct_Transform. BytesToStruct (infoBuf, typeof (_HEADER_INFO_LIST));
I convert byte array into line structure after more structure array need how to do, thank you
CodePudding user response:
Offset features,