|
|
@ -23,8 +23,8 @@ namespace PixelHub.Server.PixelMessages |
|
|
|
protected set { |
|
|
|
byte[] rawErrorCode = new byte[sizeof(uint)]; |
|
|
|
byte[] rawErrorMessage = new byte[value.Length - sizeof(uint)]; |
|
|
|
ErrorCode = BitConverter.ToUInt32(rawErrorCode); |
|
|
|
Message = Encoding.UTF8. |
|
|
|
ErrorCode = BitConverter.ToUInt32(rawErrorCode, 0); |
|
|
|
Message = new string(Encoding.UTF8.GetChars(rawErrorMessage)); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|