Exemplo n.º 1
0
        public LazinatorMemory GetLazinatorMemory()
        {
            LazinatorMemory lazinatorMemory = new LazinatorMemory(this);

            lazinatorMemory.LoadInitialReadOnlyMemory();
            return(lazinatorMemory);
        }
Exemplo n.º 2
0
 private void LazinateRoot()
 {
     if (LazinatorMemoryStorage.Length == 0)
     {
         _Root = null;
     }
     else
     {
         LazinatorMemory childData = GetChildSlice(LazinatorMemoryStorage, _Root_ByteIndex, _Root_ByteLength, null);
         childData.LoadInitialReadOnlyMemory();
         _Root = DeserializationFactory.Instance.CreateBaseOrDerivedType(257, (c, p) => new LazinatorBinaryTreeNode <T>(c, p), childData, this);
         childData.ConsiderUnloadInitialReadOnlyMemory();
     }
     _Root_Accessed = true;
 }