public static Pattern CreateFromRawData(byte[] data) { Pattern pattern = new Pattern(); pattern.LoadFromBytes(data); return pattern; }