public byte[] toByteArray(){
  byte[] b=output.toByteArray();
  ByteArray.write16bit(numOfEntries,b,0);
  return b;
}

public byte [ ] toByteArray ( ) { byte [ ] b = output . toByteArray ( ) ; ByteArray . write16bit ( numOfEntries , b , 0 ) ; return b ; }
returns the stack map table written out .
