コード例 #1
0
 public override void Decode(ByteStream stream)
 {
     if (this.Success)
     {
         this.Document = CouchbaseDocument.Decode <GameDocument>(stream);
     }
 }
コード例 #2
0
        public override void Decode(ByteStream stream)
        {
            this.CurrentSeasonDocument = CouchbaseDocument.Decode <SeasonDocument>(stream);

            if (stream.ReadBoolean())
            {
                this.LastSeasonDocument = CouchbaseDocument.Decode <SeasonDocument>(stream);
            }
        }