private final int serializeAdditionalHeaderSegments ( final ByteBuffer dst , final int offset ) throws InternetSCSIException { int off = offset ; for ( AdditionalHeaderSegment ahs : additionalHeaderSegments ) { off += ahs . serialize ( dst , off ) ; } return off - offset ; }
Serialize all the contained additional header segments to the destination array starting from the given offset .