How the implementation of the struct in the D language to ubyte []
or ubyte []
to the struct, please brothers help answer this question, thank you!
If a struct contains the string
or char []
what to do?
For example, such a structure:
struct UserLogin
{
align(1):
ushort ClientId;
int AccectId;
string LoginUid;
string LoginPwd;
}
Attention to my application in the socket!