Example #1
0
 public override unsafe void SetLength(long value)
 {
     int num = MobileDevice.AFCFileRefSetFileSize(this.phone.AFCHandle, this.handle, (uint)value);
 }
Example #2
0
        /// <summary>
        /// Sets the length of this stream to the given value.
        /// </summary>
        /// <param name="value">The new length of the stream.</param>
        public override void SetLength(long value)
        {
            int ret;

            ret = MobileDevice.AFCFileRefSetFileSize(phone.AFCHandle, handle, (uint)value);
        }