看板 C_Sharp 關於我們 聯絡資訊
protoMessage text= protoMessage.Parser.parseform(byteStr) //protomessage 是protobuf 依照定义proto所编出来的cs Text 如何轉list? 爬官網好像是listvalue?但不知怎用,還是有其他方法? 另若要把以上包在method裡,我該如何定Method type 後return? list<protoMessage> mehod(){ //proto object to list return listStr; } 以上請教 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 223.104.213.44 ※ 文章網址: https://www.ptt.cc/bbs/C_Sharp/M.1551783099.A.2CC.html
totte: string.split03/06 12:11
tree581: 他是prototype,没有.split能用03/06 16:04
※ 編輯: tree581 (223.104.5.169), 03/09/2019 20:09:33