Store the last segment length

When segmenting a sample into smaller segments, store the segment length to ensure uniform segment lengths.

Language
Authentication
Click Try It! to start a request and see the response here!