private void ReadMsg(UdpMessage message, byte[] buffer) { var reader = new ByteArrayReader(buffer); message.UserId = reader.ReadInt32(); message.colorLine = reader.ReadColorLine(); }