Beispiel #1
0
        public int Serialize(PongFancyResponse typeInstance, int protocolVersion, IBufferWriter <byte> writer, ProtocolTypeSerializerOptions?options = null)
        {
            int size = 0;

            size += writer.WriteULong(typeInstance.Nonce);
            size += writer.WriteVarString(typeInstance.Quote);

            return(size);
        }