Example #1
0
        public ICommand HeapRead(ICommand command)
        {
            HeapReadCommand cmd    = (HeapReadCommand)command;
            var             buffer = StorageEngine.Heap.Read(cmd.Handle);

            return(new HeapReadCommand(cmd.Handle, buffer));
        }
Example #2
0
            public byte[] Read(long handle)
            {
                var cmd = new HeapReadCommand(handle, null);

                InternalExecute(cmd);

                return(cmd.Buffer);
            }