Exemple #1
0
 /// <summary>
 /// Creates a variable-sized accessor.
 /// </summary>
 /// <param name="file"></param>
 /// <param name="sizeInBytes"></param>
 /// <returns></returns>
 private MemoryMappedAccessor <T> CreateAccessor(MemoryMappedFile file, long sizeInBytes)
 {
     return(file.CreateVariable <T>(sizeInBytes, _readFrom, _writeTo));
 }