private byte[] Header(byte[] data) { byte[] T = new byte[data.Length + 4]; Buffer.BlockCopy(BitConverter.GetBytes(data.Length), 0, T, 0, 4); Buffer.BlockCopy(data, 0, T, 4, data.Length); return T; }