public Result GetEntry(out DeliveryCacheFileMetaEntry entry, int index)
        {
            UnsafeHelpers.SkipParamInit(out entry);

            lock (Locker)
            {
                if (index >= Count)
                {
                    return(ResultBcat.NotFound.Log());
                }

                entry = Entries[index];
                return(Result.Success);
            }
        }
        public Result FindEntry(out DeliveryCacheFileMetaEntry entry, ref FileName fileName)
        {
            UnsafeHelpers.SkipParamInit(out entry);

            lock (Locker)
            {
                for (int i = 0; i < Count; i++)
                {
                    if (StringUtils.CompareCaseInsensitive(Entries[i].Name.Bytes, fileName.Bytes) == 0)
                    {
                        entry = Entries[i];
                        return(Result.Success);
                    }
                }

                return(ResultBcat.NotFound.Log());
            }
        }