public static int Read(byte[] buf, int c, Message msg)
        {
            msg.Content = new byte[msg.Header.MessageLength];

            for (int i = 0; i < msg.Header.MessageLength; ++i, c++)
                msg.Content[i] = buf[c];

            return c;
        }