public int writeAnnotationSet(AnnotationSet annotationSet){
  int off=data.position();
  writeInt(annotationSet.annotationOffsets.length);
  for (  int annotationOffset : annotationSet.annotationOffsets) {
    writeInt(annotationOffset);
  }
  return off;
}

public int writeAnnotationSet ( AnnotationSet annotationSet ) { int off = data . position ( ) ; writeInt ( annotationSet . annotationOffsets . length ) ; for ( int annotationOffset : annotationSet . annotationOffsets ) { writeInt ( annotationOffset ) ; } return off ; }
write annotationset item into current section .
