public BaseDatatype(byte[] data) : base(data) { int pos = sizeof(CLIENT_NAME); int len = sizeof(DATA_NAME); dataName = (DATA_NAME)BitConverter.ToInt32(data, pos); pos += len; len = sizeof(DATA_TYPE); dataType = (DATA_TYPE)BitConverter.ToInt32(data, pos); pos += len; }
public C_Test(CLIENT_NAME __whom, DATA_NAME __dataName, DATA_TYPE __dataType) : base(__whom, __dataName, __dataType) { }
public BaseDatatype(CLIENT_NAME __whom, DATA_NAME __dataName, DATA_TYPE __dataType) : base(__whom) { dataName = __dataName; dataType = __dataType; }