add test solution and try to fix get id code bug
This commit is contained in:
@@ -478,7 +478,7 @@ namespace WebProtocol
|
||||
{
|
||||
if (bytes[0] != (byte)PackSign.RecvResp)
|
||||
throw new ArgumentException(
|
||||
"The sign of bytes is not RecvData Package!",
|
||||
"The sign of bytes is not RecvResp Package!",
|
||||
nameof(bytes)
|
||||
);
|
||||
return new RecvRespPackage(bytes[1], bytes[2]);
|
||||
|
||||
Reference in New Issue
Block a user