示例#1
0
文件: Store.cs 项目: lipogem/lrpc
 public object Restore(ByteQue que)
 {
     if (que.Pop <bool>())
     {
         return(que.Pop <short>());
     }
     return(null);
 }
示例#2
0
文件: Store.cs 项目: lipogem/lrpc
 public object Restore(ByteQue que)
 {
     if (que.Pop <bool>())
     {
         byte[] arr = new byte[que.PopSize()];
         for (int i = 0; i < arr.Length; ++i)
         {
             arr[i] = que.Pop <byte>();
         }
         return(Encoding.UTF8.GetString(arr));
     }
     return(null);
 }