internal override void WriteTo(SocketWriter writer) { if (Value == null) { writer.Write(_empty); } else { writer.Write(RESPHeaders.BulkString); writer.WriteLine(_scount); writer.WriteLine(Value); } }
internal void WriteTo(SocketWriter writter) { writter.Write(RESPHeaders.Array); writter.WriteLine(_parts.Count.ToString()); foreach (var item in _parts) { item.WriteTo(writter); } }
internal override void WriteTo(SocketWriter writer) { writer.Write(_resp); }