serialize the thrift object into a java string , using a specified character set for encoding . concode_field_sep TProtocol protocol_ concode_elem_sep TIOStreamTransport transport_ concode_elem_sep ByteArrayOutputStream baos_ concode_field_sep byte[] serialize
String function ( TBase arg0 , String arg1 ) { try { return new String ( serialize ( arg0 ) , arg1 ) ; } catch ( UnsupportedEncodingException loc0 ) { throw new TException ( "srini_string" + arg1 ) ; } }