public ICommand HeapRead(ICommand command) { HeapReadCommand cmd = (HeapReadCommand)command; var buffer = StorageEngine.Heap.Read(cmd.Handle); return(new HeapReadCommand(cmd.Handle, buffer)); }
public byte[] Read(long handle) { var cmd = new HeapReadCommand(handle, null); InternalExecute(cmd); return(cmd.Buffer); }