@@ -310,7 +310,6 @@ public static int EncodeInt32Vlq(System.IO.Stream buffer, Int32 value)
310310 }
311311
312312 b [ 0 ] = ( byte ) ( value & 0x7f ) ;
313- //Console.WriteLine(String.Format("B{0}: v={1,-20} abs_v={2,-20} B={3:X2} BX={4:X2}", 0, value, abs_v, b[0], (byte)(value & 0xff)));
314313 int length = 1 ;
315314 for ( int i = 1 ; i < 5 ; i ++ )
316315 {
@@ -320,7 +319,6 @@ public static int EncodeInt32Vlq(System.IO.Stream buffer, Int32 value)
320319 abs_v >>= 7 ;
321320 value >>= 7 ;
322321 b [ i ] = ( byte ) ( ( value & 0x7f ) + 0x80 ) ;
323- //Console.WriteLine(String.Format("B{0}: v={1,-20} abs_v={2,-20} B={3:X2} BX={4:X2}", i, value, abs_v, b[i], (byte)(value & 0xff)));
324322 }
325323 else
326324 {
@@ -355,8 +353,7 @@ public static int EncodeUInt64Vlq(System.IO.Stream buffer, UInt64 value)
355353 {
356354 b [ 0 ] = ( byte ) ( value & 0x7f ) ;
357355 }
358- //Console.WriteLine(String.Format("value : {0:X16}", value) + " special=" + special.ToString());
359- //Console.WriteLine(String.Format("B{0}: v={1,-20} B={2:X2} BX={3:X2}", 0, value, b[0], (byte)(value & 0xff)));
356+
360357 int length = 1 ;
361358 for ( int i = 1 ; i < 9 ; i ++ )
362359 {
@@ -372,7 +369,6 @@ public static int EncodeUInt64Vlq(System.IO.Stream buffer, UInt64 value)
372369 value >>= 7 ;
373370 }
374371 b [ i ] = ( byte ) ( ( value & 0x7f ) + 0x80 ) ;
375- //Console.WriteLine(String.Format("B{0}: v={1,-20} B={2:X2} BX={3:X2}", i, value, b[i], (byte)(value & 0xff)));
376372 }
377373 else
378374 {
@@ -496,8 +492,7 @@ public static int EncodeInt64Vlq(System.IO.Stream buffer, Int64 value)
496492 {
497493 b [ 0 ] = ( byte ) ( value & 0x7f ) ;
498494 }
499- //Console.WriteLine(String.Format("value : {0:X16}", value) + " special=" + special.ToString());
500- //Console.WriteLine(String.Format("B{0}: v={1,-20} abs_v={2,-20} B={3:X2} BX={4:X2}", 0, value, abs_v, b[0], (byte)(value & 0xff)));
495+
501496 int length = 1 ;
502497 for ( int i = 1 ; i < 9 ; i ++ )
503498 {
@@ -515,7 +510,6 @@ public static int EncodeInt64Vlq(System.IO.Stream buffer, Int64 value)
515510 value >>= 7 ;
516511 }
517512 b [ i ] = ( byte ) ( ( value & 0x7f ) + 0x80 ) ;
518- //Console.WriteLine(String.Format("B{0}: v={1,-20} abs_v={2,-20} B={3:X2} BX={4:X2}", i, value, abs_v, b[i], (byte)(value & 0xff)));
519513 }
520514 else
521515 {
@@ -741,9 +735,9 @@ public static int EncodeObjectQualifier(System.IO.Stream buffer)
741735
742736 ret += EncodeUInt32 ( buffer , Ids . ObjectQualifier ) ;
743737
744- ValueRID parentRID = new ValueRID ( 0 ) ;
745- ValueAID compositionAID = new ValueAID ( 0 ) ;
746- ValueUDInt keyQualifier = new ValueUDInt ( 0 ) ;
738+ var parentRID = new ValueRID ( 0 ) ;
739+ var compositionAID = new ValueAID ( 0 ) ;
740+ var keyQualifier = new ValueUDInt ( 0 ) ;
747741
748742 ret += EncodeUInt32Vlq ( buffer , Ids . ParentRID ) ;
749743 ret += parentRID . Serialize ( buffer ) ;
0 commit comments