System.Runtime.Serialization.Json.JsonWriter.AppendBuffer C# (CSharp) Method

AppendBuffer() static private method

static private AppendBuffer ( StringBuilder &sb, string input, int start, int i, string append ) : void
sb StringBuilder
input string
start int
i int
append string
return void
		static void AppendBuffer (ref StringBuilder sb, string input, int start, int i, string append)
		{
			if (sb == null)
				sb = new StringBuilder ();
			if (i != start)
				sb.Append (input, start, i - start);
			sb.Append (append);
		}