Get the segment associated with sample
the segment of sample. The segment remains valid as long as sample is valid.
Get the segment associated with sample