Write() private static method

private static Write ( byte source, byte destination, int offset ) : int
source byte
destination byte
offset int
return int
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);
        }
Example #2
0
        /// <summary>
        /// Updates the data of the profile.
        /// </summary>
        protected override void UpdateData()
        {
            if (_data == null)
            {
                return;
            }

            if (_data.Values.Count == 0)
            {
                SetData(null);
                return;
            }

            var writer = new ExifWriter(Parts);

            SetData(writer.Write(_data.Values));
        }