Skip to content

Commit a0a7f23

Browse files
committed
Simplify unknown format printing
1 parent bca1754 commit a0a7f23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SabreTools.ASN1/TypeLengthValue.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ public string Format(int paddingLevel = 0)
191191
break;
192192

193193
default:
194-
formatBuilder.Append($", Value (Unknown Format): {BitConverter.ToString(Value as byte[] ?? []).Replace('-', ' ')}");
194+
formatBuilder.Append($", Value (Unknown Format): {BitConverter.ToString(valueAsByteArray).Replace('-', ' ')}");
195195
break;
196196
}
197197

0 commit comments

Comments
 (0)