rewrite udp server handler, change router and protocol
This commit is contained in:
@@ -64,7 +64,7 @@ namespace Common
|
||||
return num;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public static Result<byte[]> MultiBitsToBytes(ulong bits1, uint bits1Len, ulong bits2, uint bits2Len)
|
||||
{
|
||||
@@ -99,7 +99,7 @@ namespace Common
|
||||
}
|
||||
|
||||
|
||||
public static Result<byte[]> StringToBytes(string str, int numBase = 16)
|
||||
public static byte[] StringToBytes(string str, int numBase = 16)
|
||||
{
|
||||
var len = str.Length;
|
||||
var bytesLen = len / 2;
|
||||
|
||||
Reference in New Issue
Block a user