This commit is contained in:
fabjuuuh
2020-09-25 13:01:04 +02:00
parent 5a425bf19b
commit 7b9ad2540c
3 changed files with 6 additions and 3 deletions

View File

@@ -85,6 +85,7 @@ namespace Client
bool isJson = DataParser.getJsonIdentifier(this.buffer, out identifier);
if (isJson)
{
throw new NotImplementedException();
}
else if (DataParser.isRawData(this.buffer))

View File

@@ -76,7 +76,7 @@ namespace Client
/// <param name="messageId"></param>
/// <param name="clientId"></param>
/// <returns>the message ready for sending</returns>
private static byte[] getMessage(byte[] payload, byte messageId, byte clientId)
public static byte[] getMessage(byte[] payload, byte messageId, byte clientId)
{
byte[] res = new byte[payload.Length + 6];