ImageMagick.ExifWriter.Write C# (CSharp) Method

Write() private static method

private static Write ( byte source, byte destination, int offset ) : int
source byte
destination byte
offset int
return int
    private static int Write(byte[] source, byte[] destination, int offset)
    {
      Buffer.BlockCopy(source, 0, destination, offset, source.Length);

      return offset + source.Length;
    }

Usage Example

Example #1
0
        /// <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);
        }
All Usage Examples Of ImageMagick.ExifWriter::Write