@Override
        protected void write(final OutputStream os) throws IOException {
            os.write(markerBytes);
            os.write(segmentLengthBytes);
            os.write(segmentData);
        }
Interface for Exif write/update/remove functionality for Jpeg/JFIF images.
src/main/java/org/apache/commons/imaging/formats/jpeg/xmp/JpegRewriter.java