示例#1
0
            bool ac_Seek(long offset, IntPtr user)
            {
                if (dataStream == null) return false;

                try
                {
                    return dataStream.Seek(offset, SeekOrigin.Begin) == offset;
                }
                catch
                {
                }
                return false;
            }
示例#2
0
            private bool ac_Seek(long offset, IntPtr user)
            {
                if (dataStream == null)
                {
                    return(false);
                }

                try
                {
                    return(dataStream.Seek(offset, SeekOrigin.Begin) == offset);
                }
                catch
                {
                }
                return(false);
            }