private static void writeToOutputStream ( Object obj , CodedOutputStream out ) throws IOException { out . writeRawByte ( STRING ) ; out . writeStringNoTag ( ( String ) obj ) ; }
writes object to CodedOutputStream .