public static int writeSpeexComment(byte[] buf,int offset,String comment){
  int length=comment.length();
  writeInt(buf,offset,length);
  writeString(buf,offset + 4,comment);
  writeInt(buf,offset + length + 4,0);
  return length + 8;
}

public static int writeSpeexComment ( byte [ ] buf , int offset , String comment ) { int length = comment . length ( ) ; writeInt ( buf , offset , length ) ; writeString ( buf , offset + 4 , comment ) ; writeInt ( buf , offset + length + 4 , 0 ) ; return length + 8 ; }
writes a speex comment to the given byte array .
