Compare commits

..

No commits in common. "d1daadef299820deef8699b3a570a47bc942b026" and "e16ff31b9299556269488641ba0cf7d0f9659f48" have entirely different histories.

2 changed files with 0 additions and 16 deletions

View file

@ -20,8 +20,6 @@ PixelMessage::PixelMessage(byte* rawMessage) : PixelMessage()
MessageType = *(static_cast<unsigned short*>(static_cast<void*>(rawMessage + 2)));
MessageId = *(static_cast<unsigned int*>(static_cast<void*>(rawMessage + 4)));
MessageLength = *(static_cast<unsigned int*>(static_cast<void*>(rawMessage + 8)));
// TODO: Sort out the payload here.
}
PixelMessage::~PixelMessage()

View file

@ -32,20 +32,6 @@ namespace SBRL.Utilities
["\n"] = @"\n",
["\t"] = @"\t"
};
/// <summary>
/// Concatenates a pair of buffers into a single long buffer.
/// </summary>
/// <param name="A">The first buffer to concatenate.</param>
/// <param name="B">The second buffer to concatenate.</param>
/// <returns>The concatenated buffers.</returns>
public static byte[] ConcatBuffers(byte[] A, byte[] B)
{
byte[] result = new byte[A.Length + B.Length];
Buffer.BlockCopy(A, 0, result, 0, A.Length);
Buffer.BlockCopy(B, 0, result, A.Length, B.Length);
return result;
}
}
}