Ejemplo n.º 1
0
            public override byte[] Serialize()
            {
                var buffer = new PostgresProtocolStream();

                buffer.Write(PropertyString);

                return(buffer.ToArray());
            }
        public override byte[] Serialize()
        {
            var buffer = new PostgresProtocolStream();

            buffer.WriteByte(TargetType);
            buffer.Write(TargetName);

            return(buffer.ToArray());
        }
Ejemplo n.º 3
0
        public override byte[] Serialize()
        {
            var buffer = new PostgresProtocolStream();

            buffer.Write(PortalName);
            buffer.Write(Limit);

            return(buffer.ToArray());
        }
Ejemplo n.º 4
0
        public override byte[] Serialize()
        {
            var buffer = new PostgresProtocolStream();

            buffer.Write(Length);
            buffer.Write(CancelRequestCode);
            buffer.Write(ProcessId);
            buffer.Write(SecretKey);

            return(buffer.ToArray());
        }