#include "../include/Segment.h"

namespace environment {
namespace data {
  
  void Segment::read (uint32_t address, uint32_t size, char * & data_dest)
  {
    for (uint32_t it = 0; it < size ; it ++)
      data_dest [it] = data[address-base+it];
  }
  
};
};
