question: public Segment ( int marker ) throws IOException { this . marker = marker ; if ( marker != 0 ) { out . writeShort ( marker ) ; offset = getStreamPosition ( ) ; if ( ! standaloneMarkers . contains ( marker ) ) { out . writeShort ( 0 ) ; } } }
target:  Creates a new Chunk at the current position of the ImageOutputStream.