コード例 #1
0
 public override ByteBuffer ToBufferRaw(ByteBuffer buffer = null)
 {
     buffer = buffer ?? new ByteBuffer(ByteBuffer.LITTLE_ENDING);
     Fee.ToBuffer(buffer);
     Payer.ToBuffer(buffer);
     Player.ToBuffer(buffer);
     Tournament.ToBuffer(buffer);
     BuyIn.ToBuffer(buffer);
     buffer.WriteArray(Extensions, (b, item) => {
         if (!item.IsNull())
         {
             ;
         }
     });              // todo
     return(buffer);
 }