public byte[] getSegmentData() {
        return segmentData.clone();
    }
Returns a copy of the segment's contents, excluding the marker and length bytes at the beginning.

@return the segment's contents
src/main/java/org/apache/commons/imaging/formats/jpeg/segments/AbstractGenericSegment.java