'Returns a pointer into the table\'s raw data to its heap (if present).
This is returned as a numpy byte array.'

def _get_heap_data(self):

    if self._heapsize:
        raw_data = self._get_raw_data().view(np.ubyte)
        heap_end = (self._heapoffset + self._heapsize)
        return raw_data[self._heapoffset:heap_end]
    else:
        return np.array([], dtype=np.ubyte)
