public StringDataType(byte[] buf){
  this.s=new String(buf,Charset.forName("UTF-8"));
}

public StringDataType ( byte [ ] buf ) { this . s = new String ( buf , Charset . forName ( "UTF-8" ) ) ; }
construct a stringdatatype from the bytes in buf .
