How to create InputStream from string in Vala
Given a string named command, I need to create GLib InputStream开发者_运维百科 object How? Thanks
string command = "foobar";
GLib.InputStream input_stream = new GLib.MemoryInputStream.from_data (command.data, GLib.g_free);
精彩评论