public LazinatorMemory GetLazinatorMemory() { LazinatorMemory lazinatorMemory = new LazinatorMemory(this); lazinatorMemory.LoadInitialReadOnlyMemory(); return(lazinatorMemory); }
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; }