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