예제 #1
0
 private static char[] ArrayProvider(ObjectCacheBase <char[]> cache)
 {
     return(new char[((CharArrayCache)cache)._arraySize]);
 }
예제 #2
0
        private static ArraySlice ArrayProvider(ObjectCacheBase <ArraySlice> cache)
        {
            var asc = (ArraySliceCache)cache;

            return(new ArraySlice(new byte[asc._arraySize], asc));
        }
예제 #3
0
 private static byte[] ArrayProvider(ObjectCacheBase <byte[]> cache)
 {
     return(new byte[((ByteArrayCache)cache)._arraySize]);
 }