diff --git a/PixelHub-Server/PixelHub/PixelCommand.cs b/PixelHub-Server/PixelHub/PixelCommand.cs
index f818c22..bd72c03 100644
--- a/PixelHub-Server/PixelHub/PixelCommand.cs
+++ b/PixelHub-Server/PixelHub/PixelCommand.cs
@@ -41,6 +41,11 @@ namespace PixelHub
///
private static Random rand = new Random();
+ ///
+ /// The size of the pixel message header, in bytes.
+ ///
+ public static readonly int HeaderSize = 12;
+
///
/// The protocol version that this message is written in.
///
@@ -62,6 +67,16 @@ namespace PixelHub
///
public uint MessageLength = 0;
+ ///
+ /// The header of the message.
+ ///
+ public byte[] Header
+ {
+ get {
+
+ }
+ }
+
///
/// The payload of the message.
///
@@ -76,7 +91,7 @@ namespace PixelHub
public byte[] AsCompiledCommand()
{
- throw new NotImplementedException();
+ byte[] message = new byte[HeaderSize + Payload.Length];
}
}
}
\ No newline at end of file