Beispiel #1
0
            private NodeSet ReadFromBlock(Dictionary <BlockId, BlockContainer> containersTouched, DataAddress address)
            {
                // The block being written to,
                BlockId blockId = address.BlockId;
                // The data identifier,
                int dataId = address.DataId;

                // Fetch the block container,
                BlockContainer container = GetBlock(containersTouched, blockId);

                // Read the data,
                return(container.Read(dataId));
            }