public PortMessage(PortMessage existingMessage, byte[] data) { using (var alloc = new MemoryAlloc(data.Length)) { alloc.WriteBytes(0, data); this.InitializeMessage(existingMessage, alloc, (short)alloc.Size); } }