BookSleeve.RedisMessage.WriteCommand C# (CSharp) Method

WriteCommand() protected method

protected WriteCommand ( Stream stream, int argCount ) : void
stream Stream
argCount int
return void
        protected void WriteCommand(Stream stream, int argCount)
        {
            try
            {
            #if VERBOSE
                Trace.WriteLine("> " + command);
            #endif
                stream.WriteByte((byte) '*');
                WriteRaw(stream, argCount + 1);
                WriteUnified(stream, command);
            } catch
            {

                throw;
            }
        }