private static int Write(byte[] source, byte[] destination, int offset) { Buffer.BlockCopy(source, 0, destination, offset, source.Length); return offset + source.Length; }
/// <summary> /// Updates the data of the profile. /// </summary> protected override void UpdateData() { if (_values == null) { return; } if (_values.Count == 0) { Data = null; return; } var writer = new ExifWriter(Parts); Data = writer.Write(_values); }