Test.Microsoft.Azure.Amqp.AmqpUtils.WriteAmqpValue C# (CSharp) Méthode

WriteAmqpValue() static private méthode

static private WriteAmqpValue ( int offset, int indent, string value ) : void
offset int
indent int
value string
Résultat void
        static void WriteAmqpValue(int offset, int indent, string value)
        {
            System.Text.StringBuilder sb = new System.Text.StringBuilder();
            sb.AppendFormat("0x{0:X4}  ", offset);

            if (indent > 0)
            {
                sb.Append(new string(' ', indent * 4));
            }

            sb.Append(value);

            System.Diagnostics.Debug.WriteLine(sb.ToString());
        }